mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-07-07 18:45:09 +00:00
Update to Electron 11
This commit is contained in:
@@ -56,11 +56,11 @@ export class ElectronService {
|
||||
}
|
||||
|
||||
quit() {
|
||||
this.electron.remote.app.quit()
|
||||
this.electron.remote.app.exit()
|
||||
}
|
||||
|
||||
openFolder(filepath: string) {
|
||||
this.electron.shell.openItem(filepath)
|
||||
this.electron.shell.openPath(filepath)
|
||||
}
|
||||
|
||||
showFolder(filepath: string) {
|
||||
|
||||
@@ -110,7 +110,8 @@ function createBrowserWindow(windowState: windowStateKeeper.State) {
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
allowRunningInsecureContent: (isDevBuild) ? true : false,
|
||||
textAreasAreResizable: false
|
||||
textAreasAreResizable: false,
|
||||
enableRemoteModule: true
|
||||
},
|
||||
simpleFullscreen: true,
|
||||
fullscreenable: false
|
||||
|
||||
Reference in New Issue
Block a user