fix: 发布 1.1.18,重启打开新地址并收掉重复的 settings 补丁

旧页面 token 刷新后无效,重启改为按新进程地址打开浏览器。已叠坏的 legacyApplyPath 在应用时收成一份。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-09-24 22:19:27 +08:00
1 parent c4b092204a
commit 00ccf4a1f1
8 files changed
+149 -28

No files matched your search

+1 -3
View File
@@ -1979,9 +1979,7 @@ window.__ModuleLoader__.load({ id: "dsh-purge", factory: (require) => {
}
function reopenAfterRestart() {
const url = new URL(window.location.href);
url.searchParams.delete("token");
window.location.replace(url.pathname + url.search + url.hash);
window.location.reload();
}
function waitForRestart(setNotice, setBusy, t) {