fix icon on non-Mac
This commit is contained in:
parent
73608d17e1
commit
2dba9271a9
2
main.js
2
main.js
@ -13,7 +13,7 @@ const options = {userAgent: 'Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6
|
||||
|
||||
function createWindow () {
|
||||
// Create the browser window.
|
||||
win = new BrowserWindow({width: 480, height: 600,icon: path.join(__dirname, 'ic_launcher.png')})
|
||||
win = new BrowserWindow({width: 480, height: 600,icon: path.join(__dirname, 'icon.png')})
|
||||
setdock.setdock(win)
|
||||
if(process.platform == 'darwin') { Menu.setApplicationMenu(themenu(win)); }
|
||||
else { win.setMenu(themenu(win));
|
||||
|
Reference in New Issue
Block a user