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
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user