mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 11:20:22 +08:00
fix: 二次 Apply 不再误报 #26/#27,重启等到会话树落地再进页面
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6c88f4d075
commit
fd4dfa4e38
11 files changed
+254
-432
No files matched your search
@@ -1,9 +1,4 @@
|
||||
// ESM facade over the real child_process builtin with windowsHide forced.
|
||||
// Loaded via registerHooks so `import { spawn } from "node:child_process"`
|
||||
// receives the wrapped functions (plain cp.spawn = … does NOT affect ESM
|
||||
// named imports on Node 24).
|
||||
|
||||
const cp = process.getBuiltinModule("child_process");
|
||||
const cp = process.getBuiltinModule("child_process"); // Node 24 ESM 具名导入是副本,必须包 builtin
|
||||
const MARK = "__dshPurgeHideConsole";
|
||||
|
||||
function hide(options) {
|
||||
|
||||
Reference in new issue
Block a user