Skip to content

Commit 5d52298

Browse files
committed
清理调试代码
1 parent 39e5608 commit 5d52298

3 files changed

Lines changed: 5 additions & 377 deletions

File tree

app/src/boot/onGetConfig.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ import {replaceLocalPath} from "../editor/rename";
2222
import {initBar} from "../layout/topBar";
2323
import {openChangelog} from "./openChangelog";
2424
import {App} from "../index";
25-
/// #if !MOBILE
26-
import {openSetting} from "../config";
27-
/// #endif
2825
import {initWindowEvent} from "./globalEvent/event";
2926
import {sendGlobalShortcut} from "./globalEvent/keydown";
3027
import {closeWindow} from "../window/closeWin";
@@ -67,12 +64,6 @@ export const onGetConfig = (isStart: boolean, app: App) => {
6764
sendGlobalShortcut(app);
6865
/// #endif
6966
openChangelog();
70-
/// #if !MOBILE
71-
// 临时:启动后直接打开设置
72-
window.setTimeout(() => {
73-
openSetting(app, "ai");
74-
}, 0);
75-
/// #endif
7667
} catch (e) {
7768
resetLayout();
7869
}

0 commit comments

Comments
 (0)