From b55990ab543a8ab230733be073df82587e0d8a9f Mon Sep 17 00:00:00 2001 From: William Edwards Date: Wed, 6 Mar 2024 10:09:54 -0800 Subject: [PATCH] fix(Version): print version on startup --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0b00066..722f034 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,8 @@ mod watcher; #[tokio::main] async fn main() -> Result<(), Box> { SimpleLogger::new().init().unwrap(); - log::info!("Starting Gamescope DBus"); + const VERSION: &str = env!("CARGO_PKG_VERSION"); + log::info!("Starting Gamescope DBus v{}", VERSION); // Configure the DBus connection let connection = Connection::session().await?;