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:
commit
312af963d9
@ -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