support custom icons
This commit is contained in:
1 parent
1c0ac119f4
commit
b81d9449c9
8 files changed
+16
-6
No files matched your search
@@ -32,6 +32,9 @@ if (!app.requestSingleInstanceLock()) {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
app.commandLine.appendArgument("–-allow-file-access-from-files");
|
||||
app.commandLine.appendArgument("--disable-web-security");
|
||||
|
||||
// Remove electron security warnings
|
||||
// This warning only shows in development mode
|
||||
// Read more on https://www.electronjs.org/docs/latest/tutorial/security
|
||||
@@ -73,6 +76,7 @@ async function createWindow(projectPath?: string) {
|
||||
// Read more on https://www.electronjs.org/docs/latest/tutorial/context-isolation
|
||||
nodeIntegration: true,
|
||||
contextIsolation: false,
|
||||
webSecurity: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user