mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 11:30:22 +08:00
fix: 发布 1.1.29,更新下载不再把 GitHub 302 当成失败
- 安装包里的 1.1.26 仍用 fetch 拉 github.com/archive,宿主不跟随 302 就报 http 302,切换失败所以版本一直停在旧的 - 下载改走 Node https,302 读 Location;没有 Location 时把 archive 地址改写成 codeload - 自动更新只跟版本号,并在安装前写 stamp,避免 add --force 重启后再次更新 - 钉住的标签只标一条为当前 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6075a782bf
commit
5b1040c65c
5 files changed
+172
-43
No files matched your search
+2
-1
@@ -24,7 +24,8 @@ let bootFullQuit = false;
|
||||
const DEFAULTS = {
|
||||
enabled: true,
|
||||
autoApplyOnStart: true,
|
||||
autoUpdateOnStart: true,
|
||||
// 默认关闭开机自动更新:曾因 stamp/SHA 误判触发 dsh add --force 无限重启。
|
||||
autoUpdateOnStart: false,
|
||||
autoRevertOnMissing: false,
|
||||
injectOnce: false,
|
||||
stripMnemon: true,
|
||||
|
||||
Reference in new issue
Block a user