mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-06-02 02:14:47 +12:00
hotfix4
This commit is contained in:
parent
386013e8f3
commit
f5bb132e2a
|
@ -80,4 +80,4 @@
|
|||
"npm": ">= 6.13.4",
|
||||
"yarn": ">= 1.21.1"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -38,6 +38,15 @@ function createWindow () {
|
|||
}
|
||||
})
|
||||
|
||||
mainWindow.webContents.on('did-frame-finish-load', () => {
|
||||
mainWindow.webContents.once('devtools-opened', () => {
|
||||
mainWindow.webContents.focus()
|
||||
})
|
||||
// open electron debug
|
||||
console.log('Opening dev tools')
|
||||
mainWindow.webContents.openDevTools()
|
||||
})
|
||||
|
||||
mainWindow.setMenu(null)
|
||||
mainWindow.maximize()
|
||||
|
||||
|
|
1
src/node_fix.d.ts
vendored
1
src/node_fix.d.ts
vendored
|
@ -2,4 +2,5 @@
|
|||
declare module "fs" {
|
||||
export class Dir {}
|
||||
export type OpenDirOptions = {}
|
||||
export type RmDirOptions = {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue