chore: update runtime (#3312)

This commit is contained in:
Alex Yang
2023-07-19 17:58:51 +08:00
committed by GitHub
parent 710b34a13a
commit ae182bfd78
6 changed files with 11 additions and 4 deletions

View File

@@ -12,6 +12,8 @@ import { registerPlugin } from './plugin';
import { registerProtocol } from './protocol';
import { registerUpdater } from './updater';
app.enableSandbox();
if (require('electron-squirrel-startup')) app.quit();
// allow tests to overwrite app name through passing args
if (process.argv.includes('--app-name')) {