fix: update Homebrew install command to msdl-cli formula
homebrew/core already has an unrelated package literally named "msdl" (a streaming-protocol downloader). brew install msdl silently resolved to that instead of our tap, since Homebrew always prefers core for a bare-name collision -- confirmed in production when a user's `brew install msdl` pulled homebrew-core's msdl 1.2.7-r2 instead of ours. The tap's formula is renamed to msdl-cli (starkSV/homebrew-msdl, separate repo) to fix this permanently; the installed command itself is unaffected, still just `msdl`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2fae096b15
commit
4dce41483d
4 changed files with 8 additions and 5 deletions
3
.github/workflows/cli-release.yml
vendored
3
.github/workflows/cli-release.yml
vendored
|
|
@ -70,8 +70,9 @@ jobs:
|
||||||
**macOS/Linux (Homebrew):**
|
**macOS/Linux (Homebrew):**
|
||||||
```bash
|
```bash
|
||||||
brew tap starkSV/msdl
|
brew tap starkSV/msdl
|
||||||
brew install msdl
|
brew install msdl-cli
|
||||||
```
|
```
|
||||||
|
(formula is `msdl-cli`, not `msdl` -- homebrew/core has an unrelated package named `msdl`; the installed command is still just `msdl`)
|
||||||
|
|
||||||
**macOS/Linux (no Homebrew):**
|
**macOS/Linux (no Homebrew):**
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,9 @@ winget install starkSV.msdl
|
||||||
**macOS / Linux (Homebrew):**
|
**macOS / Linux (Homebrew):**
|
||||||
```bash
|
```bash
|
||||||
brew tap starkSV/msdl
|
brew tap starkSV/msdl
|
||||||
brew install msdl
|
brew install msdl-cli
|
||||||
```
|
```
|
||||||
|
(the formula is named `msdl-cli`, not `msdl` — `homebrew/core` already has an unrelated package called `msdl`; the installed command is still just `msdl`)
|
||||||
|
|
||||||
**macOS / Linux (no Homebrew):**
|
**macOS / Linux (no Homebrew):**
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ function InstallSteps() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleBrewCopy() {
|
function handleBrewCopy() {
|
||||||
navigator.clipboard.writeText('brew tap starkSV/msdl && brew install msdl')
|
navigator.clipboard.writeText('brew tap starkSV/msdl && brew install msdl-cli')
|
||||||
setBrewCopied(true)
|
setBrewCopied(true)
|
||||||
setTimeout(() => setBrewCopied(false), 2000)
|
setTimeout(() => setBrewCopied(false), 2000)
|
||||||
}
|
}
|
||||||
|
|
@ -57,7 +57,7 @@ function InstallSteps() {
|
||||||
<span className="text-[10px] px-1.5 py-0.5 rounded border border-emerald-500/20 text-emerald-600 font-mono">recommended</span>
|
<span className="text-[10px] px-1.5 py-0.5 rounded border border-emerald-500/20 text-emerald-600 font-mono">recommended</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center justify-between gap-2 rounded bg-black/30 px-3 py-2">
|
<div className="flex items-center justify-between gap-2 rounded bg-black/30 px-3 py-2">
|
||||||
<code className="text-[12px] font-mono text-zinc-300">brew tap starkSV/msdl && brew install msdl</code>
|
<code className="text-[12px] font-mono text-zinc-300">brew tap starkSV/msdl && brew install msdl-cli</code>
|
||||||
<button onClick={handleBrewCopy} className="flex-shrink-0 text-zinc-500 hover:text-white transition-colors">
|
<button onClick={handleBrewCopy} className="flex-shrink-0 text-zinc-500 hover:text-white transition-colors">
|
||||||
{brewCopied ? <Check size={12} className="text-green-400" /> : <Copy size={12} />}
|
{brewCopied ? <Check size={12} className="text-green-400" /> : <Copy size={12} />}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,8 @@ export default function CliPage() {
|
||||||
<span className="text-[11px] font-mono font-semibold tracking-widest uppercase text-emerald-500">macOS / Linux · Homebrew</span>
|
<span className="text-[11px] font-mono font-semibold tracking-widest uppercase text-emerald-500">macOS / Linux · Homebrew</span>
|
||||||
<span className="text-[10px] px-1.5 py-0.5 rounded border border-emerald-500/20 text-emerald-600 font-mono">recommended</span>
|
<span className="text-[10px] px-1.5 py-0.5 rounded border border-emerald-500/20 text-emerald-600 font-mono">recommended</span>
|
||||||
</div>
|
</div>
|
||||||
<CodeBlock code="brew tap starkSV/msdl && brew install msdl" />
|
<CodeBlock code="brew tap starkSV/msdl && brew install msdl-cli" />
|
||||||
|
<p className="text-[11px] text-zinc-600">Formula is <code className="text-zinc-500">msdl-cli</code>, not <code className="text-zinc-500">msdl</code> — homebrew/core has an unrelated package named msdl. The installed command is still just <code className="text-zinc-500">msdl</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* No Homebrew — curl installer */}
|
{/* No Homebrew — curl installer */}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue