refactor: check for camoufox inside install dir directly

This commit is contained in:
zhom
2025-08-09 08:51:36 +04:00
parent 8d9654044a
commit 467e82ca93
4 changed files with 20 additions and 11 deletions
+5
View File
@@ -603,6 +603,11 @@ impl ProfileManager {
})?;
}
// Emit profile update event so frontend UIs can refresh immediately (e.g. proxy manager)
if let Err(e) = app_handle.emit("profile-updated", &profile) {
println!("Warning: Failed to emit profile update event: {e}");
}
Ok(profile)
}