Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.56 KB

File metadata and controls

60 lines (41 loc) · 1.56 KB

DPH Endfield Theme — DSH 安装说明

本文档供用户或经用户明确授权的 DSH 助手读取。它只安装 dph-endfield-theme 到 DSH 的 web profile,不应修改其他 profile、模型配置、会话数据或工作区文件。

安装来源

github:thjyy/dph-endfield-theme

建议在正式使用时锁定经过检查的提交:

github:thjyy/dph-endfield-theme#<commit-sha>

给 DSH 助手的执行规则

  1. 只有用户明确要求安装本主题时才继续。

  2. 告知用户该操作会修改 DSH 用户目录中的 web profile,并需要 Full Access;不要尝试绕过权限策略。

  3. 检查 dsh 命令是否可用;不可用时停止并向用户报告,不要手写或猜测 profile 配置。

  4. 不要执行 curl | shiex 或其他未经展示的远程脚本。

  5. 使用下面公开、可审阅的 CLI 命令安装:

    dsh plugin --profile web add github:thjyy/dph-endfield-theme
  6. 安装后执行只读验证:

    dsh --profile web --dump-config

    输出中应出现:

    # == dph-endfield-theme
    - id: dph-endfield-theme
      name: dph-endfield-theme
    
  7. 不要从当前会话中强行终止其宿主进程。告知用户关闭并重新启动 DSH Web,然后在浏览器中使用 Ctrl + F5 刷新。

手动安装

用户也可以自行运行:

dsh plugin --profile web add github:thjyy/dph-endfield-theme
dsh web

卸载

dsh plugin --profile web remove dph-endfield-theme

卸载后同样需要重新启动 DSH Web。