mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 10:10:22 +08:00
fix: 发布 1.1.18,重启打开新地址并收掉重复的 settings 补丁
旧页面 token 刷新后无效,重启改为按新进程地址打开浏览器。已叠坏的 legacyApplyPath 在应用时收成一份。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c4b092204a
commit
00ccf4a1f1
8 files changed
+149
-28
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user