dsh-snowbreak-heimdall 3.3.3 → 3.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  ## 当前状态
9
9
 
10
- - 插件:`dsh-snowbreak-heimdall@3.3.3`,profile `desktop` 已启用。
10
+ - 插件:`dsh-snowbreak-heimdall@3.3.5`,profile `desktop` 已启用。
11
11
  - 当前运行:`142164e9…9555`
12
12
  - `reapply=false`,这一版已经应用完成;**不需要再退出或重写 asar**。
13
13
  - **安装/启用后先确认再重启**:Host 检测到源码层未接入时弹「现在重启 DSH?」,选「是」才关闭当前 DSH、等待 helper 写入源码层,再自动启动 DSH;选「否」不重启。重启过程不弹进度窗。
@@ -100,7 +100,7 @@ DSH 完全退出后,helper 启动 **PowerShell WPF WS_POPUP**:
100
100
  不是“复制文件夹后双击即用”。对方需要:
101
101
 
102
102
  1. 同版本 DSH `0.2.2-rc.1`(补丁锚点按该版本校验,其他版本会拒绝写入)。
103
- 2. 在 DSH 插件管理器/安装指令中安装 npm 包 `dsh-snowbreak-heimdall@3.3.3`;安装后启用插件。
103
+ 2. 在 DSH 插件管理器/安装指令中安装 npm 包 `dsh-snowbreak-heimdall@3.3.5`;安装后启用插件。
104
104
  也可以手动把包安装到 profile 后加入 `dsh.profile.bundles`。
105
105
  3. 启用插件,然后完整退出 DSH;helper 才会写入源码层。
106
106
  4. Windows 用户;DSH 安装目录可写(默认 `%LOCALAPPDATA%\Programs\DeepSeek Harness`,自定义路径可设 `HEIMDALL_TARGET` / `HEIMDALL_RESOURCES`)。
package/SHA256SUMS.txt CHANGED
@@ -44,14 +44,14 @@ aef34c1fed4a009a78955f5316b999bbd157fd082d7441d34852d32f0a481c28 *assets\source\
44
44
  2a0b4b9c68d5f4b87bb8fbb768a1933c40394fe4e6f23c144fae88052ebe4a02 *cordis.patch.yml
45
45
  065af22a9be00dc76ce08bc647814d33da2779e937db6c5fa4ea0dcb8c65caa9 *icon.svg
46
46
  16e6b37076eb1d87496d03df49af614f9b40c095a3fa8fe5fcaa3145622a2301 *lib\client.js
47
- 718c6dff5d5ecd59e07918ff3a0b5595c20bacd66a32c7341aaf3ca274684c99 *lib\index.js
47
+ d2e195b9a7c4b8c90ba9a27f62ffb48e3110e070ca179578606867467f6abcd4 *lib\index.js
48
48
  0794a24c333ef529e56c6eb7b1dee62f4f5b8da1c56fe001885824ce2a3f8b2f *LICENSE
49
49
  de949631618eb48bf5cd6c06698a28214c8e9cb4bca23d298cd89462f4fb260e *locale\en.json
50
50
  e931cfb8c9b64aa4e01363e603537afee392e8309fe07daaff3e07e028ab8010 *locale\zh.json
51
- 7e3653f7f76414b29318c98749111dba8d6998894f95224dc266f4aba8d9865f *package.json
51
+ e58cf33d88a79267df09a7acf062bfa1a0d08add69b781baa8af04990f05ea0b *package.json
52
52
  8fa6aff9fa2ab7eb11cc813c7ed9cda2b9ae7757c039aad8d71d5b56b5b683d9 *patch\asar.py
53
- 2834716ad78e22fb52e99a0ff91a6ba699c79cae3eed5243253e92f81cdeb8a6 *patch\patcher.py
54
- cf1af2902b9b17cb64d519cd6156bb9a687580766c6952a9db60ec25a92a7242 *README.md
53
+ 2138132b56d62ae08e1d5f9639fe5941809a5b5f706b09db3801f0e9f9fbcce3 *patch\patcher.py
54
+ b54afd98d7f7949e28d69c61ee0a654f2a223798924861203f27cfd777110737 *README.md
55
55
  8978acd5618d9148ca20804d823af6decb0b20af4569b39e8a641f559277db0c *TEST-REPORT.md
56
56
  73ac5fa42ee7de25615deb7315de7e2609f76b52e636b6a03397c7203bf17bc2 *tools\build_assets.py
57
57
  a8c0badcd2e0cac12cf03528a892c51ec1e6cbde0352ebfb5d5243cbe1f59f8e *tools\build_client.py
package/lib/index.js CHANGED
@@ -17,7 +17,7 @@ import { fileURLToPath } from 'node:url';
17
17
  const requireFromHere = createRequire(import.meta.url);
18
18
 
19
19
  const ROOT = path.dirname(path.dirname(fileURLToPath(import.meta.url)));
20
- const VERSION = '3.3.3';
20
+ const VERSION = '3.3.5';
21
21
  let restartPrompted = false;
22
22
  const INSTALL = path.join(process.env.LOCALAPPDATA || '', 'Programs', 'DeepSeek Harness');
23
23
  const DEFAULT_RESOURCES = process.env.HEIMDALL_RESOURCES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-snowbreak-heimdall",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "description": "《尘白禁区》海姆达尔终端 / 世界树公司源码级皮肤:加载画面、双主题、菜单/侧栏/图标,插件仅在加载后播放启动动画。Windows / DSH 0.2.2-rc.1。",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/patch/patcher.py CHANGED
@@ -478,7 +478,7 @@ def archive_version(tree=None, target=None):
478
478
  def plugin_present():
479
479
  if not PROFILE_DIR:
480
480
  return False
481
- link = os.path.join(PROFILE_DIR, "node_modules", "@local", "snowbreak-heimdall")
481
+ link = os.path.join(PROFILE_DIR, "node_modules", "dsh-snowbreak-heimdall")
482
482
  return os.path.exists(link)
483
483
 
484
484
 
@@ -491,10 +491,10 @@ def plugin_enabled():
491
491
  except (OSError, ValueError):
492
492
  return True
493
493
  deps = pkg.get("dependencies") or {}
494
- if "@local/snowbreak-heimdall" not in deps:
494
+ if "dsh-snowbreak-heimdall" not in deps and "@local/snowbreak-heimdall" not in deps:
495
495
  return False
496
496
  bundles = ((pkg.get("dsh") or {}).get("profile") or {}).get("bundles") or []
497
- if "@local/snowbreak-heimdall" not in bundles:
497
+ if "dsh-snowbreak-heimdall" not in bundles and "@local/snowbreak-heimdall" not in bundles:
498
498
  return False
499
499
  # The Plugin Manager persists a per-row disable in the user's patch layer.
500
500
  # That row wins over the bundle list, so the helper must read it too.
@@ -510,7 +510,7 @@ def plugin_enabled():
510
510
  value = stripped.split(":", 1)[1].strip().strip('"\'')
511
511
  if inside:
512
512
  break
513
- inside = value == "snowbreak-heimdall"
513
+ inside = value in ("snowbreak-heimdall", "dsh-snowbreak-heimdall")
514
514
  continue
515
515
  if not inside:
516
516
  continue