2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-10 15:21:03 +00:00

Add icon hotfix

This commit is contained in:
zweicoder 2016-01-23 15:37:45 +08:00
parent 01ae53c590
commit f0d1adb6b0

View File

@ -28,7 +28,8 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
plugins: true,
nodeIntegration: false,
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
}
);