feat!: rename project from mcl/mcl-launcher to rmcl

Renames Cargo package, binary, internal path identifiers, java shim,
user-agent, log filename, desktop shortcut Exec lines, and CLI program
name. Wires src/migrate.rs into main() so existing users have their
on-disk data (~/.config/mcl/, ~/.local/share/mcl/, ~/.cache/mcl/) moved
to the new locations on first launch.

BREAKING CHANGE: binary is now named rmcl. Old paths are auto-migrated.
This commit is contained in:
objz committed 2026-05-13 21:06:34 +02:00
1 parent 2b3aa4df32
commit ae2524f2ce
16 files changed
+96 -91

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ mod tests {
fn unique_temp_dir() -> std::path::PathBuf {
std::env::temp_dir().join(format!(
"mcl_cli_log_test_{}",
"rmcl_cli_log_test_{}",
std::time::SystemTime::now()
.duration_since(std::time::UNIX_EPOCH)
.expect("time should work")
+3 -3
View File
@@ -14,7 +14,7 @@ use clap::{Arg, ArgAction, ArgGroup, Command};
pub async fn init() {
let matches = build_command().get_matches();
// no subcommand means the user just ran `mcl` bare, so fall through to TUI mode
// no subcommand means the user just ran `rmcl` bare, so fall through to TUI mode
if matches.subcommand().is_none() {
// force-init the theme so it's ready before the TUI renders
let _ = &*crate::config::theme::THEME;
@@ -43,7 +43,7 @@ pub async fn init() {
}
fn build_command() -> Command {
Command::new("mcl")
Command::new("rmcl")
.about("Minecraft CLI Launcher")
.version(env!("CARGO_PKG_VERSION"))
.subcommand_required(false)
@@ -245,7 +245,7 @@ mod tests {
#[test]
fn parses_instance_list_subcommand() {
let matches = build_command()
.try_get_matches_from(["mcl", "instance", "list"])
.try_get_matches_from(["rmcl", "instance", "list"])
.expect("command should parse");
assert!(matches.subcommand_matches("instance").is_some());
}