Files
coa-server-manager/crates/coa-core/src/lib.rs
T
ДмитрийandClaude Opus 5.5 8353b791fb The Manager no longer edits Scripts/manage.py
Repacks ship no .bat files, and the Manager starts servers with
coa-core::launcher, so the realm-profile patch it wrote into manage.py
served no one. It is no longer applied (realm creation, realm switching and
start).

Recognising the edits older Managers made (realm patch, bridge import fix)
moves into legacy_launcher, so updates and file checks still treat such a
file as unmodified. Nothing there writes a file.

manage.py itself stays complete in the repack: Managers up to 0.9.10 run it
through their bridge and patch its text, so it cannot become a thin wrapper
until those Managers are no longer supported.

Verified: coa-core unit tests; examples/manager_launcher_e2e on a disposable
repack (manage.py unchanged after a start with a realm profile).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:07:41 +05:00

80 lines
1.5 KiB
Rust

#![allow(
clippy::too_many_arguments,
clippy::type_complexity,
clippy::doc_overindented_list_items,
clippy::unnecessary_sort_by,
clippy::explicit_counter_loop,
clippy::large_enum_variant
)]
pub mod accounts;
pub mod allsettings;
pub mod backup;
pub mod channels;
pub mod character_start_check;
pub mod cleanbase;
pub mod client;
pub mod client_graphics;
pub mod clientdl;
pub mod companions;
pub mod config;
pub mod console;
pub mod control;
pub mod crashes;
pub mod custom_races;
pub mod dashboard;
pub mod db;
pub mod diag;
pub mod docker;
pub mod download;
pub mod driver;
pub mod legacy_launcher;
pub mod error;
pub mod firewall;
pub mod friends;
pub mod fsx;
pub mod glue_config;
pub mod health;
pub mod install;
pub mod layout;
pub mod launcher;
pub mod logging;
pub mod server_logging;
pub mod manifest;
pub mod migrations;
pub mod modules;
pub mod multiworld;
mod mysql_snapshot;
pub mod net;
pub mod package;
pub mod pkgsource;
pub mod platform;
pub mod population;
pub mod portable;
pub mod process;
pub mod ra;
pub mod race_availability;
pub mod realm_registry;
pub mod realmlist;
pub mod realms;
pub mod registry;
pub mod release;
pub mod release_history;
pub mod release_schema;
pub mod remote_client;
pub mod repair;
pub mod report;
pub mod schema_check;
pub mod signing;
pub mod squid;
pub mod srp6;
pub mod update;
mod update_isolation;
pub mod update_route;
pub mod upnp;
pub mod wine;
pub use error::{Error, ErrorCode, Result};
pub const MANAGER_VERSION: &str = env!("CARGO_PKG_VERSION");