mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Add icon hotfix
This commit is contained in:
parent
01ae53c590
commit
f0d1adb6b0
@ -28,7 +28,8 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
|||||||
plugins: true,
|
plugins: true,
|
||||||
nodeIntegration: false,
|
nodeIntegration: false,
|
||||||
preload: path.join(__dirname, 'static', 'preload.js')
|
preload: path.join(__dirname, 'static', 'preload.js')
|
||||||
}
|
},
|
||||||
|
icon: options.icon || path.join(__dirname,'/icon.png') // hardcoded by default until you decide how to pass in an icon
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user