This commit is contained in:
wanglin2 2025-03-05 21:46:16 +08:00
parent 4882ff7af2
commit bf78d8db6a

View File

@ -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)
}
})
// 保存客户端配置