feat(backend): add final phase 5 parity integration handlers

- Add get_system_proxy to resolve macOS system proxy via scutil
- Port FileClassifier to get_file_category mapping extensions accurately
- Implement check_for_updates fetching GitHub API releases with semver checking
This commit is contained in:
NimBold
2026-06-13 12:39:41 +03:30
parent c79dcfa74d
commit 88b97862c3
2 changed files with 172 additions and 1 deletions
+3 -1
View File
@@ -377,6 +377,7 @@ use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Mutex, RwLock};
mod queue;
mod parity;
pub struct AppState {
pub tasks: Arc<Mutex<HashMap<String, u32>>>,
@@ -1341,7 +1342,8 @@ pub fn run() {
request_automation_permission, open_automation_settings,
set_keychain_password, get_keychain_password, delete_keychain_password,
check_file_exists, delete_file, toggle_tray_icon, set_extension_pairing_token,
set_extension_frontend_ready
set_extension_frontend_ready,
parity::get_system_proxy, parity::get_file_category, parity::check_for_updates
])
.run(tauri::generate_context!())
.expect("error while running tauri application");