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
This commit is contained in:
Observer KRypt0n_ 2023-03-04 12:08:27 +02:00
parent 3f6fe2b847
commit 3a51768baa
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ mod prettify_bytes;
pub use prettify_bytes::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_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const APP_DEBUG: bool = cfg!(debug_assertions); pub const APP_DEBUG: bool = cfg!(debug_assertions);

View file

@ -799,6 +799,7 @@ impl SimpleComponent for App {
LauncherState::PatchAvailable(Patch::NotAvailable) | LauncherState::PatchAvailable(Patch::NotAvailable) |
LauncherState::PredownloadAvailable { .. } | LauncherState::PredownloadAvailable { .. } |
LauncherState::Launch => { LauncherState::Launch => {
// TODO: make game::run() freeze current process while the game is running
if let Err(err) = anime_launcher_sdk::game::run() { if let Err(err) = anime_launcher_sdk::game::run() {
tracing::error!("Failed to launch game: {err}"); tracing::error!("Failed to launch game: {err}");