Skip to content

Commit

Permalink
Fixed incorrect arg type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frodo45127 committed Aug 16, 2024
1 parent 2732060 commit 3984add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runcher/src/app_ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 3984add

Please sign in to comment.