From a3e3101ab0f5234adc6a9f3ac7cf9d5854d088de Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Mon, 13 Jul 2026 09:46:46 +0900 Subject: [PATCH] log if appimage --- wayvr/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wayvr/src/main.rs b/wayvr/src/main.rs index 853b127b..142824af 100644 --- a/wayvr/src/main.rs +++ b/wayvr/src/main.rs @@ -115,9 +115,14 @@ fn main() -> Result<(), Box> { logging_init(&mut args); log::info!( - "Welcome to {} version {}!", + "Welcome to {} version {}!{}", env!("CARGO_PKG_NAME"), env!("WLX_BUILD"), + if std::env::var("APPDIR").is_ok() { + " (AppImage)" + } else { + "" + } ); log::info!("It is {}.", chrono::Local::now().format("%c"));