0cb6ad2860
New non-blocking login panel on the Home screen (seed backup/restore + Telegram magic-link via the bot deep-link, polled through the new backend endpoints) — uses its own popover instead of a full-screen Dialog so the burger menu stays clickable while it's open. VpnStats now shows a used/limit usage bar backed by a new useUsageStore. Also registers tauri-plugin-shell (needed to open the t.me deep-link) and threads an optional auth token from the app down through TunnelConfig to the proxy client (desktop + Android), for instances running --require-auth. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
35 lines
789 B
TOML
35 lines
789 B
TOML
[package]
|
|
name = "netrunner-app"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
name = "netrunner_app"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0", features = [] }
|
|
winres = "0.1"
|
|
|
|
[dependencies]
|
|
jni = "0.22.3"
|
|
tauri = { version = "2.0.0", features = [] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
ndk-context = "0.1"
|
|
log = "0.4"
|
|
|
|
tauri-plugin-vpn = { path = "./src/plugins/vpn-plugin" }
|
|
tauri-plugin-shell = "2.0.0"
|
|
netrunner-logger = { git = "ssh://git@github.com/nineAp/netrunner-core.git", branch = "main", features = ["desktop"] }
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|
|
|
|
[target.x86_64-pc-windows-gnu]
|
|
linker = "x86_64-w64-mingw32-gcc"
|
|
ar = "x86_64-w64-mingw32-gcc-ar"
|