diff options
Diffstat (limited to 'src-tauri/src/util.rs')
-rw-r--r-- | src-tauri/src/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/util.rs b/src-tauri/src/util.rs index c5433fcd..0f32ecb5 100644 --- a/src-tauri/src/util.rs +++ b/src-tauri/src/util.rs @@ -105,7 +105,7 @@ pub fn extract(zip_file: std::fs::File, target: &std::path::Path) -> Result<()> Ok(()) } -pub fn check_origin_running() -> bool { +pub fn check_ea_app_or_origin_running() -> bool { let s = sysinfo::System::new_all(); let x = s.processes_by_name("Origin.exe").next().is_some() || s.processes_by_name("EADesktop.exe").next().is_some(); |