feat: webui api (/QQVersion & /GetSysStatusRealTime)
Build Release / check-version (push) Canceled after 0s
Build Release / Build-LiteLoader (push) Canceled after 0s
Build Release / Build-Shell (push) Canceled after 0s
Build Release / release-napcat (push) Canceled after 0s
Build Action / Build-LiteLoader (push) Canceled after 0s
Build Action / Build-Shell (push) Canceled after 0s

This commit is contained in:
pk5ls20 committed 2024-12-22 21:31:14 +08:00
1 parent d4488e40cf
commit 871b5688c2
6 files changed
+21 -1

No files matched your search

+2
View File
@@ -18,6 +18,7 @@ export interface SystemStatus {
qq: string
}
},
arch: string
}
export class StatusHelper {
@@ -95,6 +96,7 @@ export class StatusHelper {
qq: qqUsage.memory
}
},
arch: `${os.platform()} ${os.arch()} ${os.release()}`
};
}
}