Launcher: stable builds by default, a "Beta builds" switch, and each version's channel
Game releases now go out as betas and become stable 6 hours later (promote.yml). The launcher installs new versions from the stable channel unless "Beta builds" is on in Settings; turning it on checks again at once. The Versions page, `versions` and the MCP server show each build's channel. The website's patch notes list stable releases only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-2
@@ -268,7 +268,7 @@ fn attached(mut cmd: Command) -> Result<(), String> {
|
||||
|
||||
fn release_json(r: &Release) -> serde_json::Value {
|
||||
serde_json::json!({
|
||||
"tag": r.tag, "name": r.name, "date": r.date,
|
||||
"tag": r.tag, "name": r.name, "date": r.date, "channel": if r.beta { "beta" } else { "stable" },
|
||||
"available_here": r.asset.is_some(), "installed": backend::installed().contains(&r.tag),
|
||||
})
|
||||
}
|
||||
@@ -317,7 +317,8 @@ fn execute(command: Cmd, as_json: bool) -> Result<(), String> {
|
||||
(false, true) => "",
|
||||
(false, false) => "no build for this platform",
|
||||
};
|
||||
println!("{:<14} {} {}", r.tag, r.date, state);
|
||||
let channel = if r.beta { "beta" } else { "stable" };
|
||||
println!("{:<15} {} {:<6} {}", r.tag, r.date, channel, state);
|
||||
}
|
||||
}
|
||||
Cmd::Install { tag } => {
|
||||
|
||||
Reference in New Issue
Block a user