feat: cloudControlService 支持 macOS 平台版本识别

This commit is contained in:
hicccc77
2026-03-08 12:25:06 +08:00
parent e1a23ac606
commit 10ce7d772c
2 changed files with 5 additions and 0 deletions

View File

@@ -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