分离方法
This commit is contained in:
@@ -41,3 +41,9 @@ exports.initSetting = (isShowErrorAlert = true) => {
|
||||
global.appSetting = info.setting
|
||||
global.appSettingVersion = info.version
|
||||
}
|
||||
|
||||
exports.openDevTools = webContents => {
|
||||
webContents.openDevTools({
|
||||
mode: 'undocked',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user