From 3a51768baa1b24092c612d597dd82b751697aa56 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sat, 4 Mar 2023 12:08:27 +0200 Subject: [PATCH] chore: changed app id As part of launchers' unification process we decided to get rid of both neutralino and gtk versions and release Relm4 version as default and only one with its own id --- src/main.rs | 2 +- src/ui/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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}");