Remove Homebrew integration and tap promotion
This commit is contained in:
1 parent
fc9e148764
commit
4bee160086
15 files changed
+95
-424
No files matched your search
@@ -120,12 +120,11 @@ export function diagnoseSystem(): DoctorDiagnosis {
|
||||
const exportDir = join(home, "Downloads");
|
||||
|
||||
const globalBinaryCandidates = [
|
||||
"/opt/homebrew/bin/seal-use",
|
||||
"/usr/local/bin/seal-use",
|
||||
join(home, ".local", "bin", "seal-use"),
|
||||
join(home, "bin", "seal-use")
|
||||
];
|
||||
const detectedBinary = globalBinaryCandidates.find((p) => existsSync(p)) ?? process.execPath;
|
||||
const detectedBinary = Bun.which("seal-use") ?? globalBinaryCandidates.find((p) => existsSync(p)) ?? process.execPath;
|
||||
|
||||
const directories: Record<string, DirectoryHealth> = {
|
||||
configDir: {
|
||||
|
||||
@@ -71,7 +71,7 @@ export const EMBEDDED_DIRECTORY_SPECS: DirectorySpec[] = [
|
||||
{
|
||||
name: "全局命令行程序",
|
||||
category: "binary",
|
||||
standardPath: "/opt/homebrew/bin/seal-use",
|
||||
standardPath: "/usr/local/bin/seal-use",
|
||||
purpose: "macOS / Linux 全局独立单文件二进制程序;旧版 seal-home 命令仅保留解析兼容,不再新建全局别名。",
|
||||
accessMode: "executable",
|
||||
retention: "persistent"
|
||||
|
||||
Reference in new issue
Block a user