feat: webui api (/QQVersion & /GetSysStatusRealTime)

This commit is contained in:
pk5ls20
2024-12-22 21:31:14 +08:00
parent 59efc8f0ea
commit b8ea50d681
6 changed files with 21 additions and 1 deletions

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()}`
};
}
}