chore: update runtime (#3312)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-19 09:58:51 +00:00
1 parent 710b34a13a
commit ae182bfd78
6 files changed
+11 -4

No files matched your search

+2
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')) {