From 3984add0199d44cab29ce5218721912b7d59fe71 Mon Sep 17 00:00:00 2001 From: Frodo45127 Date: Fri, 16 Aug 2024 07:07:11 +0200 Subject: [PATCH] Fixed incorrect arg type. --- runcher/src/app_ui/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runcher/src/app_ui/mod.rs b/runcher/src/app_ui/mod.rs index 2d1f739..6935c97 100644 --- a/runcher/src/app_ui/mod.rs +++ b/runcher/src/app_ui/mod.rs @@ -516,7 +516,7 @@ impl AppUI { // Check that Steam is running, so any usage of the Steamworks API doesn't silently fail. let sys = sysinfo::System::new_with_specifics(sysinfo::RefreshKind::new().with_processes(sysinfo::ProcessRefreshKind::new())); - if sys.processes_by_exact_name("steam.exe").count() == 0 { + if sys.processes_by_exact_name("steam.exe".as_ref()).count() == 0 { show_dialog(app_ui.main_window(), "Steam is not running. Make sure Steam is running or some parts of the launcher may not work as expected.", false); exit(1) }