a9e5214ae4
`horizon-launcher instance export [<instance>] [--format mrpack|zip] [--world <w>]... [--out <file>]` (and its MCP tool) writes what makes an instance, or a port: options.txt, horizon-*.txt, servers.dat, resource and shader packs, horizon-mods/ and config/, plus the worlds named. It never includes logs, screenshots, backups, caches or account files. A world leaves out playerdata/, stats/ and advancements/, and its level.dat is written without the player's UUID. A .mrpack follows Modrinth's published format: modrinth.index.json lists the resource packs the browser installed from Modrinth that are unchanged, by their download with SHA-1 and SHA-512 asked from Modrinth's API. The rest goes under overrides/. An instance with nothing to share is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
506 B
Rust
27 lines
506 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 heads;
|
|
pub mod instances;
|
|
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 signed;
|
|
pub mod sources;
|
|
pub mod tailscale;
|
|
pub mod telemetry;
|
|
pub mod worlds;
|