mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 09:30:22 +08:00
feat: 发布 1.1.9,将提示词从仓库中下线
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
443f23136c
commit
f16ba86ad1
11 files changed
+320
-46
No files matched your search
+4
-2
@@ -14,6 +14,7 @@ import {
|
||||
} from "./hide-console.js";
|
||||
import * as desktop from "./desktop.js";
|
||||
import { adapterFor, detectSurface } from "./surface.js";
|
||||
import { openSlot } from "./table-read.js";
|
||||
|
||||
const isWindows = process.platform === "win32";
|
||||
const SHIM_NAMES = ["dsh.cmd", "dsh.ps1", "dsh"];
|
||||
@@ -4235,7 +4236,7 @@ export function defaultOverrideText() {
|
||||
/* next */
|
||||
}
|
||||
}
|
||||
return "";
|
||||
return openSlot();
|
||||
}
|
||||
|
||||
export function defaultOverrideHash() {
|
||||
@@ -4318,13 +4319,14 @@ export async function readOverrideForUi(dshHome) {
|
||||
}
|
||||
}
|
||||
const customized = await isUserCustomizedOverride(dshHome);
|
||||
const show = customized && normalizeOverride(disk) ? disk : defaultContent;
|
||||
return {
|
||||
path: fp,
|
||||
exists,
|
||||
empty: !normalizeOverride(disk),
|
||||
customized,
|
||||
usingDefault: !customized,
|
||||
content: customized ? disk : defaultContent,
|
||||
content: show,
|
||||
defaultContent,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user