Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 5f28062

Browse files
committed
修复逻辑 bug
1 parent 9167670 commit 5f28062

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,7 @@ app.whenReady().then(async () => {
511511
buttons: ["退出", "以默认配置启动"],
512512
});
513513
if (!option) app.quit();
514-
}
515-
516-
if (!configs.dev && !configs.raw) {
514+
} else if (!configs.dev && !configs.raw) {
517515
const option = dialog.showMessageBoxSync({
518516
type: "error",
519517
title: "配置缺失",

0 commit comments

Comments
 (0)