Mod browser: CurseForge is coming soon

Ludovic dropped CurseForge for now (its API needs a paid key). The Mods page shows
"CurseForge (coming soon)" beside the Modrinth switch, disabled and inert;
browser::sources() is Modrinth only, so no search or install goes to CurseForge,
and `--source curseforge` says it is coming soon. Text that asked for a key or
an environment variable now says CurseForge support is coming soon. Importing a
CurseForge zip or instance still works; jars only CurseForge serves are listed
as "CurseForge downloads coming soon".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-22 18:50:25 +02:00
parent a3f81f3a30
commit b8f79247b8
9 changed files with 58 additions and 58 deletions
+5 -5
View File
@@ -212,6 +212,7 @@ enum KindArg {
#[derive(Clone, Copy, clap::ValueEnum)]
enum SourceArg {
Modrinth,
/// CurseForge support is coming soon
Curseforge,
}
@@ -222,9 +223,7 @@ impl SourceArg {
SourceArg::Modrinth => SourceId::Modrinth,
SourceArg::Curseforge => SourceId::CurseForge,
};
browser::source(id).ok_or_else(|| {
"CurseForge needs an API key: HORIZON_CURSEFORGE_API_KEY (docs/mod-browser.md).".into()
})
browser::source(id).ok_or_else(|| browser::CURSEFORGE_SOON.into())
}
}
@@ -337,8 +336,9 @@ enum Cmd {
#[command(subcommand)]
action: Option<ModpackCmd>,
},
/// The mod browser: resource packs, shader packs and modpacks from Modrinth (and CurseForge
/// with a key), each file checked against its checksum (docs/mod-browser.md)
/// The mod browser: Java mods, resource packs, shader packs and modpacks from Modrinth
/// (CurseForge support is coming soon), each file checked against its checksum
/// (docs/mod-browser.md)
Mods {
#[command(subcommand)]
action: Option<ModsCmd>,