Clarify active Windows client architecture

This commit is contained in:
2026-07-07 21:19:41 +03:00
parent a0f41baa36
commit 59f2264a2e
55 changed files with 19554 additions and 8 deletions

View File

@@ -0,0 +1,42 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
mod activity;
mod component_detection;
mod commands;
mod models;
mod storage;
mod validation;
mod adapters {
pub mod proxifyre;
pub mod proxy_router;
}
#[cfg(test)]
pub(crate) mod proxifyre {
pub use crate::adapters::proxifyre::*;
}
#[cfg(test)]
pub(crate) mod proxy_router {
pub use crate::adapters::proxy_router::*;
}
fn main() {
tauri::Builder::default()
.manage(commands::CommandState::default())
.invoke_handler(tauri::generate_handler![
commands::get_status,
commands::get_profiles,
commands::save_profile,
commands::get_targets,
commands::save_target,
commands::get_components,
commands::resolve_profile_preview,
commands::apply_profiles,
commands::get_logs,
commands::open_config_location
])
.run(tauri::generate_context!())
.expect("не удалось запустить клиент VPN Proxy для Windows");
}