Добавляет tauri-plugin-updater/process (desktop-only)
Регистрируется только под cfg(desktop) — Android/iOS самообновление запрещено политиками сторов, там плагин не подключается вообще. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ winres = "0.1"
|
||||
jni = "0.22.3"
|
||||
tauri = { version = "2.0.0", features = [] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
ndk-context = "0.1"
|
||||
log = "0.4"
|
||||
|
||||
@@ -22,6 +23,13 @@ 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"] }
|
||||
|
||||
# Автообновление есть только на десктопе — Android/iOS запрещают самообновление
|
||||
# в обход стора, поэтому эти крейты не тянутся и не регистрируются на мобильных
|
||||
# таргетах (см. src/lib.rs, #[cfg(desktop)]).
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
tauri-plugin-updater = "2.0.0"
|
||||
tauri-plugin-process = "2.0.0"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
|
||||
Reference in New Issue
Block a user