Update launcher dependencies & make possible run on windows
This commit is contained in:
9 files changed
+217
-215
No files matched your search
+19
-19
@@ -9,31 +9,31 @@ name = "lncvrt_games_launcher_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2.6.3", features = [] }
|
||||
tauri-build = { version = "2.7.0", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2.11.5", features = ["macos-private-api"] }
|
||||
tauri-plugin-opener = "2.5.4"
|
||||
tauri = { version = "2.12.0", features = [] }
|
||||
tauri-plugin-opener = "2.6.0"
|
||||
serde = { version = "1.0.229", features = ["derive"] }
|
||||
serde_json = "1.0.151"
|
||||
tauri-plugin-os = "2.3.2"
|
||||
reqwest = { version = "0.13.4", default-features = false, features = [
|
||||
tauri-plugin-os = "2.4.0"
|
||||
reqwest = { version = "0.13.5", default-features = false, features = [
|
||||
"stream",
|
||||
"rustls",
|
||||
] }
|
||||
tokio = "1.53.1"
|
||||
futures-util = { version = "0.3.33", features = ["io"] }
|
||||
tauri-plugin-fs = "2.5.1"
|
||||
futures-util = { version = "0.3.34", features = ["io"] }
|
||||
tauri-plugin-fs = "2.6.0"
|
||||
zip = "8.6.0"
|
||||
tauri-plugin-dialog = "2.7.2"
|
||||
tauri-plugin-notification = "2.3.3"
|
||||
tauri-plugin-dialog = "2.8.0"
|
||||
tauri-plugin-notification = "2.5.0"
|
||||
sha2 = "0.11.0"
|
||||
tauri-plugin-clipboard-manager = "2.3.2"
|
||||
tauri-plugin-prevent-default = "5.0.2"
|
||||
base64 = "0.23.0"
|
||||
tauri-plugin-http = "2.5.9"
|
||||
tauri-plugin-clipboard-manager = "2.4.0"
|
||||
tauri-plugin-prevent-default = "6.0.0"
|
||||
base64 = "0.23.1"
|
||||
tauri-plugin-http = "2.8.0"
|
||||
dashmap = "6.2.1"
|
||||
tauri-plugin-store = "2.4.4"
|
||||
tauri-plugin-store = "2.5.0"
|
||||
hex = "0.4.3"
|
||||
ed25519-dalek = { version = "3.0.0", features = ["pkcs8"] }
|
||||
pem = "4.0.0"
|
||||
@@ -42,11 +42,11 @@ pem = "4.0.0"
|
||||
sysinfo = "0.39.6"
|
||||
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
tauri-plugin-single-instance = "2.4.3"
|
||||
tauri-plugin-updater = "2.10.1"
|
||||
tauri-plugin-window-state = "2.4.1"
|
||||
tauri-plugin-process = "2.3.1"
|
||||
tauri-plugin-cli = "2.4.1"
|
||||
tauri-plugin-single-instance = "2.5.0"
|
||||
tauri-plugin-updater = "2.13.0"
|
||||
tauri-plugin-window-state = "2.5.0"
|
||||
tauri-plugin-process = "2.4.0"
|
||||
tauri-plugin-cli = "2.5.0"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
tauri-plugin-decorum = "1.1.1"
|
||||
|
||||
@@ -31,7 +31,7 @@ use sysinfo::System;
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
|
||||
#[cfg(not(dev))]
|
||||
#[cfg(not(debug_assertions))]
|
||||
use tauri_plugin_updater::UpdaterExt;
|
||||
|
||||
struct AppState {
|
||||
@@ -752,7 +752,7 @@ pub fn run() {
|
||||
eprintln!("Failed to create overlay titlebar: {:?}", e);
|
||||
}
|
||||
}
|
||||
#[cfg(not(dev))]
|
||||
#[cfg(not(debug_assertions))]
|
||||
{
|
||||
use tauri_plugin_cli::CliExt;
|
||||
|
||||
@@ -775,12 +775,6 @@ pub fn run() {
|
||||
Err(_) => {}
|
||||
}
|
||||
}
|
||||
#[cfg(dev)]
|
||||
{
|
||||
let mut new_url = window.url().unwrap();
|
||||
new_url.set_path("/main");
|
||||
let _ = window.navigate(new_url).unwrap();
|
||||
}
|
||||
|
||||
Ok(())
|
||||
});
|
||||
@@ -795,7 +789,7 @@ pub fn run() {
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
|
||||
#[cfg(not(dev))]
|
||||
#[cfg(not(debug_assertions))]
|
||||
async fn update(
|
||||
app: tauri::AppHandle,
|
||||
window: tauri::WebviewWindow,
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
"width": 1000,
|
||||
"height": 500,
|
||||
"minWidth": 1000,
|
||||
"minHeight": 500,
|
||||
"visible": false
|
||||
"minHeight": 500
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
"height": 500,
|
||||
"minWidth": 1000,
|
||||
"minHeight": 500,
|
||||
"visible": false,
|
||||
"titleBarStyle": "Overlay",
|
||||
"hiddenTitle": true
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
"height": 532,
|
||||
"minWidth": 1000,
|
||||
"minHeight": 532,
|
||||
"visible": false,
|
||||
"decorations": false,
|
||||
"shadow": true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user