fix: 发布 1.1.49-beta.1,修 macOS 官方桌面重启假失败与解包后 CLI 失效(#53)。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-02 19:20:16 +08:00
1 parent 883362d6fe
commit 0674ca2003
9 files changed
+426 -44

No files matched your search

+1 -1
View File
@@ -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;
}