2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 10:38:55 +00:00

Merge branch 'master' of github.com:jiahaog/nativefier

This commit is contained in:
Jia Hao 2016-01-23 16:21:41 +08:00
commit 312af963d9

View File

@ -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
} }
); );