mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-08 19:06:14 -08:00
add an Android Quick Settings tile for starting and stopping EasyTier VPN networks persist tile actions until the Tauri frontend is ready, so cold-start clicks are not lost add the standard Quick Settings preferences activity alias so long-pressing the tile opens EasyTier keep network and VPN lifecycle ownership in the existing frontend reconciliation flow
17 lines
305 B
Rust
17 lines
305 B
Rust
const COMMANDS: &[&str] = &[
|
|
"ping",
|
|
"prepare_vpn",
|
|
"start_vpn",
|
|
"stop_vpn",
|
|
"get_vpn_status",
|
|
"consume_vpn_tile_action",
|
|
"registerListener",
|
|
];
|
|
|
|
fn main() {
|
|
tauri_plugin::Builder::new(COMMANDS)
|
|
.android_path("android")
|
|
.ios_path("ios")
|
|
.build();
|
|
}
|