mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 04:37:23 +08:00
also some improvements: 1. add magic dns option in gui. 2. allow icmp proxy fail on android 3. when no_tun is enabled, android do not start vpn service Co-authored-by: Your Name <you@example.com>
13 lines
289 B
Rust
13 lines
289 B
Rust
fn main() {
|
|
// enable thunk-rs when target os is windows and arch is x86_64 or i686
|
|
#[cfg(target_os = "windows")]
|
|
if !std::env::var("TARGET")
|
|
.unwrap_or_default()
|
|
.contains("aarch64")
|
|
{
|
|
thunk::thunk();
|
|
}
|
|
|
|
tauri_build::build();
|
|
}
|