Remove Homebrew integration and tap promotion

This commit is contained in:
gitea committed 2026-10-12 13:16:51 +08:00
1 parent fc9e148764
commit 4bee160086
15 files changed
+95 -424

No files matched your search

+1 -2
View File
@@ -14,7 +14,7 @@ export function resolveTargetBinaryPath(): string {
if (whichRes.status === 0 && whichRes.stdout) {
const p = whichRes.stdout.trim();
if (p && existsSync(p)) {
// Preserve native binary symlinks (Homebrew), but never overwrite an npm-linked source entry.
// Preserve native binary symlinks, but never overwrite an npm-linked source entry.
const target = realpathSync(p);
return /\.(?:[cm]?[jt]sx?|sh)$/i.test(target) ? p : target;
}
@@ -25,7 +25,6 @@ export function resolveTargetBinaryPath(): string {
// 2. Fallback candidate paths in order of preference
const candidates = [
"/opt/homebrew/bin/seal-use",
"/usr/local/bin/seal-use",
join(homedir(), ".local", "bin", "seal-use"),
join(homedir(), "bin", "seal-use")