Merge branch 'dev' into linux-key-service-bundle

This commit is contained in:
xuncha
2026-03-19 16:34:36 +08:00
committed by GitHub
3 changed files with 23 additions and 4 deletions

View File

@@ -96,7 +96,13 @@ let keyService: any
if (process.platform === 'darwin') {
keyService = new KeyServiceMac()
} else if (process.platform === 'linux') {
keyService = new KeyServiceLinux()
// const { KeyServiceLinux } = require('./services/keyServiceLinux')
// keyService = new KeyServiceLinux()
import('./services/keyServiceLinux').then(({ KeyServiceLinux }) => {
keyService = new KeyServiceLinux();
});
} else {
keyService = new KeyService()
}