feat: cloudControlService 支持 macOS 平台版本识别
This commit is contained in:
1 parent
e1a23ac606
commit
10ce7d772c
2 files changed
+5
No files matched your search
@@ -66,6 +66,10 @@ class CloudControlService {
|
||||
return `Windows ${release}`
|
||||
}
|
||||
|
||||
if (platform === 'darwin') {
|
||||
return `macOS ${os.release()}`
|
||||
}
|
||||
|
||||
return platform
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ type DbKeyResult = { success: boolean; key?: string; error?: string; logs?: stri
|
||||
type ImageKeyResult = { success: boolean; xorKey?: number; aesKey?: string; error?: string }
|
||||
|
||||
export class KeyService {
|
||||
private readonly isMac = process.platform === 'darwin'
|
||||
private koffi: any = null
|
||||
private lib: any = null
|
||||
private initialized = false
|
||||
|
||||
Reference in new issue
Block a user