Game launcher (fully functional)

This commit is contained in:
Aleksander
2025-12-28 16:38:24 +01:00
parent 686a6f3ba5
commit d664b1b9e2
12 changed files with 435 additions and 343 deletions

View File

@@ -137,7 +137,7 @@ pub fn stop(app_id: AppID, force_kill: bool) -> anyhow::Result<()> {
Ok(())
}
pub fn launch(app_id: AppID) -> anyhow::Result<()> {
pub fn launch(app_id: &AppID) -> anyhow::Result<()> {
log::info!("Launching Steam game with AppID {}", app_id);
call_steam(&format!("steam://rungameid/{}", app_id))?;
Ok(())