From fb5a5fd9101b93638623ddd142bbd466bd159649 Mon Sep 17 00:00:00 2001 From: aiongg Date: Wed, 25 Nov 2026 20:10:33 +0000 Subject: [PATCH] Floating windows carry the running channel's app id --- crates/ui-egui/src/framework.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/ui-egui/src/framework.rs b/crates/ui-egui/src/framework.rs index 5e1c8c65f..5057ac086 100644 --- a/crates/ui-egui/src/framework.rs +++ b/crates/ui-egui/src/framework.rs @@ -31,9 +31,6 @@ use crate::EffectcraftApp; #[cfg(not(target_arch = "wasm32"))] pub use craft_ui::shell::embed::before_ui; -/// The id every OS window of the app carries, as the desktop entry and the update app name it. -const APP_ID: &str = "ai.storyteller.effectcraft"; - /// The scripts of the interface languages, for the font stack. static SCRIPTS: I18nScripts = I18nScripts; @@ -44,7 +41,7 @@ fn ui_fonts() -> UiFonts<'static> { } fn install_with(ctx: &egui::Context, shell: ShellInfo, windows: Arc) -> Result<(), String> { - let spec = craft_ui::InstallSpec::new(shell, windows).app_id(APP_ID); + let spec = craft_ui::InstallSpec::new(shell, windows).app_id(crate::channel::app_id()); embed::install(ctx, spec, &ui_fonts()).map(drop).map_err(|error| format!("the UI runtime could not be installed: {error}")) }