mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 16:44:43 +01:00
Full offline compatibility
This commit is contained in:
@@ -157,7 +157,8 @@ fn enable_process_watcher(window: tauri::Window, process: String) {
|
||||
let mut system = System::new_all();
|
||||
|
||||
loop {
|
||||
thread::sleep(std::time::Duration::from_secs(5));
|
||||
// Shorten loop timer to avoid user closing Cultivation before unpatching/proxy disconnecting
|
||||
thread::sleep(std::time::Duration::from_secs(2));
|
||||
|
||||
// Refresh system info
|
||||
system.refresh_all();
|
||||
|
||||
Reference in New Issue
Block a user