Refactor using Tauri (#278)

This commit is contained in:
Kevin Yue authored and GitHub committed 2024-01-16 22:18:20 +08:00
1 parent edc13ed14d
commit 04a916a3e1
199 files changed
+10153 -7203

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
fn main() {
// Link to the native openconnect library
println!("cargo:rustc-link-lib=openconnect");
println!("cargo:rerun-if-changed=src/ffi/vpn.c");
println!("cargo:rerun-if-changed=src/ffi/vpn.h");
// Compile the vpn.c file
cc::Build::new()
.file("src/ffi/vpn.c")
.include("src/ffi")
.compile("vpn");
}