Skip to content

Commit

Permalink
fix(Version): print version on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Mar 6, 2024
1 parent 2b83498 commit b55990a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ mod watcher;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
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?;
Expand Down

0 comments on commit b55990a

Please sign in to comment.