feat: update app logic and add unsigned mac arm64 dmg action
This commit is contained in:
1 parent
4e80f93b30
commit
5daa7bce73
13 files changed
+888
-158
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user