diff --git a/src/main.rs b/src/main.rs index 93dc33f..fdc38de 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ mod prettify_bytes; pub use prettify_bytes::prettify_bytes; -pub const APP_ID: &str = "moe.launcher.an-anime-game-launcher-gtk"; +pub const APP_ID: &str = "moe.launcher.an-anime-game-launcher"; pub const APP_VERSION: &str = env!("CARGO_PKG_VERSION"); pub const APP_DEBUG: bool = cfg!(debug_assertions); diff --git a/src/ui/main.rs b/src/ui/main.rs index 802affc..e32b809 100644 --- a/src/ui/main.rs +++ b/src/ui/main.rs @@ -799,6 +799,7 @@ impl SimpleComponent for App { LauncherState::PatchAvailable(Patch::NotAvailable) | LauncherState::PredownloadAvailable { .. } | LauncherState::Launch => { + // TODO: make game::run() freeze current process while the game is running if let Err(err) = anime_launcher_sdk::game::run() { tracing::error!("Failed to launch game: {err}");