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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user