launcher ok
This commit is contained in:
parent
a8fee9c5c3
commit
97c504e79a
23 changed files with 220 additions and 89 deletions
|
|
@ -57,13 +57,11 @@ module.exports = function(options={}) {
|
|||
shell.openExternal(url)
|
||||
})
|
||||
|
||||
if (options.fullscreen) {
|
||||
window.webContents.on('dom-ready', ()=>{
|
||||
window.webContents.executeJavaScript(`
|
||||
window.ELECTRON_FULLSCREEN = true
|
||||
`)
|
||||
})
|
||||
}
|
||||
// window.webContents.on('dom-ready', ()=>{
|
||||
// window.webContents.executeJavaScript(`
|
||||
// window.ELECTRON = true
|
||||
// `)
|
||||
// })
|
||||
|
||||
if (options.zoom === false) {
|
||||
window.webContents.setVisualZoomLevelLimits(1, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue