7115c708e1
Home's Instance row gets Launch...: a shell command run in the instance's folder before the game (which starts only if it succeeds), a wrapper the game runs through, and environment variables, kept in instances.json. The game stays one process: /bin/sh runs the command and execs the wrapper and game through "$@" on Unix, cmd /C on Windows. The window's Play and `play` both use them. CLI and MCP: instance launch (confirm needed over MCP). The Instance row's actions move under its name, and editing an instance that shares its name with an import works again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
574 B
Rust
31 lines
574 B
Rust
//! The launcher's core, shared by the GUI, the CLI and the MCP server.
|
|
pub mod account;
|
|
pub mod agents;
|
|
pub mod backend;
|
|
pub mod browser;
|
|
pub mod datapacks;
|
|
pub mod desktop;
|
|
pub mod desktop_seams;
|
|
pub mod export;
|
|
#[cfg(unix)]
|
|
pub mod game_app;
|
|
pub mod game_log;
|
|
pub mod heads;
|
|
pub mod import;
|
|
pub mod instances;
|
|
pub mod launch;
|
|
pub mod modpacks;
|
|
pub mod mojang;
|
|
pub mod packs;
|
|
pub mod process;
|
|
pub mod proxy;
|
|
pub mod screenshots;
|
|
pub mod server_list;
|
|
pub mod servers;
|
|
pub mod shortcut;
|
|
pub mod signed;
|
|
pub mod sources;
|
|
pub mod tailscale;
|
|
pub mod telemetry;
|
|
pub mod worlds;
|