We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d822df8 commit 0f0aae3Copy full SHA for 0f0aae3
2 files changed
electron/main/index.ts
@@ -49,7 +49,7 @@ class MainProcess {
49
// 设置应用程序名称
50
electronApp.setAppUserModelId("com.imsyy.splayer");
51
// 注册自定义协议
52
- registerCustomProtocol()
+ registerCustomProtocol();
53
// 启动主服务进程
54
await initAppServer();
55
// 启动窗口
electron/main/utils/protocol.ts
@@ -2,7 +2,6 @@ import { app } from "electron";
2
import { processLog } from "../logger";
3
4
export const registerCustomProtocol = () => {
5
- // TODO 在设置中选择是否注册
6
app.setAsDefaultProtocolClient("orpheus");
7
processLog.info("🔗 Registered custom protocol");
8
};
0 commit comments