mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-30 07:39:54 +08:00
🐛 #77, 修复偏好设置不生效问题
This commit is contained in:
@@ -39,14 +39,6 @@ export default () => {
|
||||
const url = req.url.substr(8);
|
||||
callback(decodeURI(url));
|
||||
});
|
||||
|
||||
win.once("ready-to-show", () => {
|
||||
win.show();
|
||||
// 非隐藏式启动需要显示主窗口
|
||||
if (!app.getLoginItemSettings().wasOpenedAsHidden) {
|
||||
win.show();
|
||||
}
|
||||
});
|
||||
win.on("closed", () => {
|
||||
win = undefined;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user