Compare commits

..
1 Commits
Author SHA1 Message Date
叫我小杨同学andCursor 7ec51691f7 fix: 发布 1.1.33,已重启后打开面板不再重复要求重启
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 18:09:19 +08:00
5 changed files with 19 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
<h1 align="center">⚔️ DeepSeek Harness cybersecurity red-team tool (dsh-purge)</h1>
<p align="center"><strong>Version 1.1.32</strong></p>
<p align="center"><strong>Version 1.1.33</strong></p>
<p align="center">
<em>Local official DeepSeek Harness cybersecurity red-team plugin. Clean host policy, and ship a built-in drill console. Swap prompts per model. Default prompt for Chinese models — 小码酱. Please star ⭐</em>
+1 -1
View File
@@ -4,7 +4,7 @@
<h1 align="center">⚔️ DeepSeek Harness 网络安全红队工具(dsh-purge)</h1>
<p align="center"><strong>Version 1.1.32</strong></p>
<p align="center"><strong>Version 1.1.33</strong></p>
<p align="center">
<em>本机官方 DeepSeek Harness 网络安全红队评测插件。清洗宿主策略,并带内嵌演练台。不同模型可换不同提示词。默认提示词面向国模「小码酱」。求 Star 收藏 ⭐</em>
+4 -1
View File
@@ -109,6 +109,9 @@ export async function reapplyInstalled(options = {}) {
const summary = core.summarizeApplyReport(report);
writeAppliedStamp(installedRev());
const pending = Boolean(handoff?.asar && !renamed && options.scheduleSwap !== false);
// 只有真的挪开了 app.asar,当前进程才还在旧包上,需要再开一次。
// 官方端已经在 resources/app 里跑时,不能仅因 ELECTRON_RUN_AS_NODE 再弹「需要重启」,
// 否则每次打开面板都会再要一次重启。
return {
ok: true,
version: pluginVersion(),
@@ -116,7 +119,7 @@ export async function reapplyInstalled(options = {}) {
applied: summary.applied || 0,
failed: summary.failed.length,
renamed,
needsFullQuit: renamed || pending || core.officialHostMustStayUp(),
needsFullQuit: renamed || pending,
cmdFlashOk: flash.ok === true,
};
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dsh-purge",
"version": "1.1.32",
"version": "1.1.33",
"description": "DeepSeek Harness 网络安全红队工具:本机官方 Harness 受控评测与清洗,内嵌演练台;不同模型可换不同提示词;默认提示词面向国模「小码酱」。求 Star ⭐",
"type": "module",
"main": "lib/index.js",
+12
View File
@@ -1,3 +1,15 @@
# 1.1.33
## 中文
- 版本升级到 1.1.33。
- **修复已经重启后,打开面板仍弹出「需要重启」**。官方客户端已经从解开的 `resources/app` 运行时,不再仅因为当前是官方进程就再要求退出一次。只有这次真的挪开了 `app.asar`,才会提示重启。
## English
- Version 1.1.33.
- **Fix the restart dialog coming back after you already restarted.** When the official app is already running from the unpacked `resources/app`, opening the panel no longer asks you to quit again just because this is the official process. The restart prompt appears only when `app.asar` was actually moved aside in this run.
# 1.1.32
## 中文