mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-08-11 13:40:19 +02:00
chore: warnings
This commit is contained in:
@@ -3659,14 +3659,6 @@ pub async fn ensure_all_binaries_exist(
|
|||||||
.map_err(|e| format!("Failed to ensure all binaries exist: {e}"))
|
.map_err(|e| format!("Failed to ensure all binaries exist: {e}"))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tauri::command]
|
|
||||||
pub async fn cleanup_unused_binaries() -> Result<Vec<String>, String> {
|
|
||||||
let browser_runner = BrowserRunner::new();
|
|
||||||
browser_runner
|
|
||||||
.cleanup_unused_binaries_internal()
|
|
||||||
.map_err(|e| format!("Failed to cleanup unused binaries: {e}"))
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
@@ -72,8 +72,6 @@ use group_manager::{
|
|||||||
get_groups_with_profile_counts, get_profile_groups, update_profile_group,
|
get_groups_with_profile_counts, get_profile_groups, update_profile_group,
|
||||||
};
|
};
|
||||||
|
|
||||||
use browser_runner::cleanup_unused_binaries;
|
|
||||||
|
|
||||||
// Trait to extend WebviewWindow with transparent titlebar functionality
|
// Trait to extend WebviewWindow with transparent titlebar functionality
|
||||||
pub trait WindowExt {
|
pub trait WindowExt {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
|
|||||||
Reference in New Issue
Block a user