提交 79b60b89 编写于 作者: M muwoo

ref: 支持新api

上级 96f2f627
......@@ -239,6 +239,7 @@ window.rubick = {
removeFeature(code) {
ipcRenderer.sendToHost('removeFeature', {code});
return true;
},
// 系统
shellOpenExternal(url) {
......@@ -253,6 +254,10 @@ window.rubick = {
return os.type() === 'Windows_NT';
},
isLinux() {
return os.type() === 'Linux';
},
shellOpenPath(path) {
shell.openPath(path)
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册