1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

address review comments - add production/dev main.html & remove comments

This commit is contained in:
AWolf81
2019-05-08 08:46:34 +02:00
committed by Junyoung Choi
parent f7a648903e
commit 333b0584a4
8 changed files with 163 additions and 18 deletions

View File

@@ -54,8 +54,7 @@ const mainWindow = new BrowserWindow({
},
icon: path.resolve(__dirname, '../resources/app.png')
})
const url = path.resolve(__dirname, './main.html')
const url = path.resolve(__dirname, process.env.NODE_ENV === 'production' ? './main.production.html' : './main.development.html')
mainWindow.loadURL('file://' + url)
mainWindow.setMenuBarVisibility(false)