Use the correct process name...
authorGreg Burri <greg.burri@gmail.com>
Wed, 10 Mar 2021 15:24:20 +0000 (16:24 +0100)
committerGreg Burri <greg.burri@gmail.com>
Wed, 10 Mar 2021 15:24:20 +0000 (16:24 +0100)
backend/src/valheim_controller.rs

index fd6dcc4..f10a2b2 100644 (file)
@@ -42,7 +42,7 @@ fn format_byte_size(bytes: u64, precision: usize) -> String {
     String::from("")\r
 }\r
 \r
-const VALHEIM_PROCESS_NAME: &str = "firefox"; //valheim_server";\r
+const VALHEIM_PROCESS_NAME: &str = "valheim_server";\r
 \r
 pub fn get_valheim_executable_information() -> Option<ValheimExe> {\r
     let mut system = sysinfo::System::new_all();\r