mirror of https://github.com/wayvr-org/wayvr.git
log if appimage
This commit is contained in:
parent
28442ac6a8
commit
a3e3101ab0
|
|
@ -115,9 +115,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
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"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue