Fix platform builds

This commit is contained in:
DecDuck
2025-08-12 15:08:50 +10:00
parent e11db851a5
commit cb55ac2bf5
4 changed files with 10 additions and 14 deletions

View File

@ -51,7 +51,7 @@ jobs:
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.

19
src-tauri/Cargo.lock generated
View File

@ -1312,7 +1312,7 @@ dependencies = [
"rand 0.9.1",
"rayon",
"regex",
"reqwest 0.12.16",
"reqwest 0.12.22",
"reqwest-middleware 0.4.2",
"reqwest-middleware-cache",
"reqwest-websocket",
@ -4420,9 +4420,9 @@ dependencies = [
[[package]]
name = "reqwest"
version = "0.12.16"
version = "0.12.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bf597b113be201cb2269b4c39b39a804d01b99ee95a4278f0ed04e45cff1c71"
checksum = "cbc931937e6ca3a06e3b6c0aa7841849b160a90351d6ab467a8b9b9959767531"
dependencies = [
"base64 0.22.1",
"bytes",
@ -4437,12 +4437,9 @@ dependencies = [
"hyper-rustls",
"hyper-tls",
"hyper-util",
"ipnet",
"js-sys",
"log",
"mime",
"native-tls",
"once_cell",
"percent-encoding",
"pin-project-lite",
"quinn",
@ -4493,7 +4490,7 @@ dependencies = [
"anyhow",
"async-trait",
"http 1.3.1",
"reqwest 0.12.16",
"reqwest 0.12.22",
"serde",
"thiserror 1.0.69",
"tower-service",
@ -4528,7 +4525,7 @@ dependencies = [
"async-tungstenite",
"bytes",
"futures-util",
"reqwest 0.12.16",
"reqwest 0.12.22",
"thiserror 2.0.12",
"tokio",
"tokio-util",
@ -5533,7 +5530,7 @@ dependencies = [
"percent-encoding",
"plist",
"raw-window-handle",
"reqwest 0.12.16",
"reqwest 0.12.22",
"serde",
"serde_json",
"serde_repr",
@ -6178,9 +6175,9 @@ dependencies = [
[[package]]
name = "tower-http"
version = "0.6.4"
version = "0.6.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fdb0c213ca27a9f57ab69ddb290fd80d970922355b83ae380b395d3986b8a2e"
checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2"
dependencies = [
"bitflags 2.9.1",
"bytes",

View File

@ -104,7 +104,7 @@ version = "2"
features = ["other_errors"] # You can also use "yaml_enc" or "bin_enc"
[dependencies.reqwest]
version = "0.12"
version = "0.12.22"
default-features = false
features = ["json", "http2", "blocking", "rustls-tls", "native-tls-alpn", "rustls-tls-native-roots"]

View File

@ -1,4 +1,3 @@
fn main() {
println!("cargo::rustc-link-lib=appindicator3");
tauri_build::build();
}