mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 02:09:06 +00:00
1f2517c731
This PR fundamentally restructures the EasyTier GUI, introducing support for service mode and remote mode, transforming it from a simple desktop application into a powerful network management terminal. This change allows users to persistently run the EasyTier core as a background service or remotely manage multiple EasyTier instances, greatly improving deployment flexibility and manageability.
10 lines
219 B
Rust
10 lines
219 B
Rust
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
fn main() -> std::process::ExitCode {
|
|
if std::env::args().count() > 1 {
|
|
app_lib::run_cli()
|
|
} else {
|
|
app_lib::run_gui()
|
|
}
|
|
}
|