From 0749f985dfc1ffc6fb530e0944158e7162e112aa Mon Sep 17 00:00:00 2001 From: lights0123 Date: Sat, 26 Sep 2020 18:54:17 -0400 Subject: [PATCH] Fix builds? --- src-tauri/Cargo.lock | 9 +++++---- src-tauri/Cargo.toml | 1 + src-tauri/tauri.conf.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 6d31c72..5894f98 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -622,9 +622,9 @@ dependencies = [ [[package]] name = "image" -version = "0.23.9" +version = "0.23.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "974e194911d1f7efe3cd8a8f9db3b767e43536327e899e8bc9a12ef5711b74d2" +checksum = "985fc06b1304d19c28d5c562ed78ef5316183f2b0053b46763a0b94862373c34" dependencies = [ "bytemuck", "byteorder", @@ -736,9 +736,9 @@ dependencies = [ [[package]] name = "libnspire-sys" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2102647463fd58465518fc903140cc3ebe189743e98f91ec16f0aadc931bc8" +checksum = "4dff025b6869a1f163254e00fb9250d0705a4a7b645c0ce9aa3a90e65cede9b5" dependencies = [ "cc", "globwalk", @@ -844,6 +844,7 @@ dependencies = [ "indicatif", "lazy_static", "libnspire", + "libusb1-sys", "native-dialog", "rusb", "serde", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f034756..cf0aee2 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -20,6 +20,7 @@ tauri = { version = "0.9", features = [ "event", "notification" ] } native-dialog = "0.4.3" clap = "3.0.0-beta.2" indicatif = "0.15.0" +libusb1-sys = { version = "0.4.2", features = [ "vendored" ] } [target."cfg(windows)".build-dependencies] winres = "0.1" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1a97cf8..ea5efc6 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -6,7 +6,7 @@ }, "bundle": { "active": true, - "targets": ["osx", "msi", "appimage", "dmg"], + "targets": "all", "identifier": "com.tauri.dev", "icon": [ "icons/32x32.png",