chore: cleanup

This commit is contained in:
zhom
2025-08-06 05:29:39 +04:00
parent 00d74bddaf
commit 76cef4757a
+1 -26
View File
@@ -34,6 +34,7 @@ impl ProfileManager {
path
}
#[allow(clippy::too_many_arguments)]
pub async fn create_profile(
&self,
app_handle: &tauri::AppHandle,
@@ -58,32 +59,6 @@ impl ProfileManager {
.await
}
// Synchronous version for tests that doesn't generate fingerprints
#[cfg(test)]
pub async fn create_profile_sync(
&self,
app_handle: &tauri::AppHandle,
name: &str,
browser: &str,
version: &str,
release_type: &str,
proxy_id: Option<String>,
camoufox_config: Option<CamoufoxConfig>,
) -> Result<BrowserProfile, Box<dyn std::error::Error>> {
self
.create_profile_with_group(
app_handle,
name,
browser,
version,
release_type,
proxy_id,
camoufox_config,
None,
)
.await
}
#[allow(clippy::too_many_arguments)]
pub async fn create_profile_with_group(
&self,