mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 18:37:43 +08:00
update
This commit is contained in:
parent
4882ff7af2
commit
bf78d8db6a
@ -15,7 +15,10 @@ export const bindOtherHandleEvent = () => {
|
||||
|
||||
// 使用默认浏览器打开指定url
|
||||
ipcMain.on('openUrl', (event, url) => {
|
||||
shell.openPath(url)
|
||||
const error = shell.openPath(url)
|
||||
if (error) {
|
||||
shell.openExternal(url)
|
||||
}
|
||||
})
|
||||
|
||||
// 保存客户端配置
|
||||
|
||||
Loading…
Reference in New Issue
Block a user