mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 10:20:22 +08:00
fix: 发布 1.1.49-beta.1,修 macOS 官方桌面重启假失败与解包后 CLI 失效(#53)。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9fa474cc36
commit
94a7cf814e
9 files changed
+426
-44
No files matched your search
@@ -2462,7 +2462,7 @@ body .dshp-dock[data-theme="white"] .dshp-dock-body .rt-card,body .dshp-dock[dat
|
||||
if (!d.ok) throw new Error(d.error || "restart failed");
|
||||
const next = (d && d.surface) || surf;
|
||||
if ((next === "desktop" || d.fullApp) && d.restarting === false) {
|
||||
setNotice({ kind: "error", text: t("restart.fail", { error: d.note || "not started" }) });
|
||||
setNotice({ kind: "error", text: t("restart.fail", { error: d.error || "not started" }) });
|
||||
setBusy(false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user