refactor: make app_auto_updater use shared extraction logic

This commit is contained in:
zhom
2025-05-31 12:31:16 +04:00
parent 7e92b290b6
commit 87ae696d7a
2 changed files with 42 additions and 63 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ impl Extractor {
}
}
async fn extract_dmg(
pub async fn extract_dmg(
&self,
dmg_path: &Path,
dest_dir: &Path,
@@ -149,7 +149,7 @@ impl Extractor {
Ok(app_path)
}
async fn extract_zip(
pub async fn extract_zip(
&self,
zip_path: &Path,
dest_dir: &Path,