Skip to content

Commit 0f0aae3

Browse files
committed
style: 加个分号 去除一个待办项
1 parent d822df8 commit 0f0aae3

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

electron/main/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class MainProcess {
4949
// 设置应用程序名称
5050
electronApp.setAppUserModelId("com.imsyy.splayer");
5151
// 注册自定义协议
52-
registerCustomProtocol()
52+
registerCustomProtocol();
5353
// 启动主服务进程
5454
await initAppServer();
5555
// 启动窗口

electron/main/utils/protocol.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { app } from "electron";
22
import { processLog } from "../logger";
33

44
export const registerCustomProtocol = () => {
5-
// TODO 在设置中选择是否注册
65
app.setAsDefaultProtocolClient("orpheus");
76
processLog.info("🔗 Registered custom protocol");
87
};

0 commit comments

Comments
 (0)