DevTools is opened automaticaly when launching
This commit is contained in:
parent
09d2839a00
commit
f35710d652
|
@ -175,6 +175,7 @@ function createWindow() {
|
||||||
mainWindow.maximize();
|
mainWindow.maximize();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
if (!packaged) mainWindow.toggleDevTools();
|
||||||
electron.session.defaultSession.clearCache(() => { })
|
electron.session.defaultSession.clearCache(() => { })
|
||||||
if (process.argv) {
|
if (process.argv) {
|
||||||
if (process.argv[1]) {
|
if (process.argv[1]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user