Skip to content
Snippets Groups Projects
Commit 68f5d445 authored by Trungel's avatar Trungel
Browse files

disabled dev tools in electron prod build

parent 0cafffa0
No related branches found
No related tags found
1 merge request!6breaking: Add Electron build, npm scripts, fix paths for tile-images, Allow different sized maps, Load maps
......@@ -9,6 +9,7 @@
"start": "quasar dev",
"electron": "quasar dev -m electron",
"build": "quasar build",
"ebuild": "quasar build -m electron",
"lint": "eslint --ext .js,.vue,.ts ./",
"test": "echo \"No test specified\" && exit 0"
},
......
......@@ -26,8 +26,6 @@ function createWindow () {
mainWindow.loadURL(process.env.APP_URL)
mainWindow.webContents.openDevTools();
/*
if (process.env.DEBUGGING) {
// if on DEV or Production with debug enabled
mainWindow.webContents.openDevTools()
......@@ -36,7 +34,7 @@ function createWindow () {
mainWindow.webContents.on('devtools-opened', () => {
mainWindow.webContents.closeDevTools()
})
}*/
}
nativeTheme.themeSource = 'system'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment