feat: update app logic and add unsigned mac arm64 dmg action

This commit is contained in:
superclaw
2026-03-12 22:56:09 +08:00
parent 4e80f93b30
commit 5daa7bce73
13 changed files with 888 additions and 158 deletions

View File

@@ -67,7 +67,10 @@ class CloudControlService {
}
if (platform === 'darwin') {
return `macOS ${os.release()}`
// `os.release()` returns Darwin kernel version (e.g. 25.3.0),
// while cloud reporting expects the macOS product version (e.g. 26.3).
const macVersion = typeof process.getSystemVersion === 'function' ? process.getSystemVersion() : os.release()
return `macOS ${macVersion}`
}
return platform
@@ -92,4 +95,3 @@ class CloudControlService {
export const cloudControlService = new CloudControlService()