diff --git a/package.json b/package.json index e0796f6..7fe8151 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", - "@tauri-apps/cli": "^1.6.2", + "@tauri-apps/cli": "^2.0.1", "husky": "^9.1.6", "lint-staged": "^15.2.10", "sort-package-json": "^2.10.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c8f96c..65a19ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,8 +19,8 @@ importers: specifier: ^19.5.0 version: 19.5.0 '@tauri-apps/cli': - specifier: ^1.6.2 - version: 1.6.2 + specifier: ^2.0.1 + version: 2.0.1 husky: specifier: ^9.1.6 version: 9.1.6 @@ -3265,68 +3265,68 @@ packages: resolution: {integrity: sha512-rqI++FWClU5I2UBp4HXFvl+sBWkdigBkxnpJDQUWttNyG7IZP4FwQGhTNL5EOw0vI8i6eSAJ5frLqO7n7jbJdg==} engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'} - '@tauri-apps/cli-darwin-arm64@1.6.2': - resolution: {integrity: sha512-6mdRyf9DaLqlZvj8kZB09U3rwY+dOHSGzTZ7+GDg665GJb17f4cb30e8dExj6/aghcsOie9EGpgiURcDUvLNSQ==} + '@tauri-apps/cli-darwin-arm64@2.0.1': + resolution: {integrity: sha512-oWjCZoFbm57V0eLEkIbc6aUmB4iW65QF7J8JVh5sNzH4xHGP9rzlQarbkg7LOn89z7mFSZpaLJAWlaaZwoV2Ug==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@tauri-apps/cli-darwin-x64@1.6.2': - resolution: {integrity: sha512-PLxZY5dn38H3R9VRmBN/l0ZDB5JFanCwlK4rmpzDQPPg3tQmbu5vjSCP6TVj5U6aLKsj79kFyULblPr5Dn9+vw==} + '@tauri-apps/cli-darwin-x64@2.0.1': + resolution: {integrity: sha512-bARd5yAnDGpG/FPhSh87+tzQ6D0TPyP2mZ5bg6cioeoXDmry68nT/FBzp87ySR1/KHvuhEQYWM/4RPrDjvI1Yg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@tauri-apps/cli-linux-arm-gnueabihf@1.6.2': - resolution: {integrity: sha512-xnpj4BLeeGOh5I/ewCQlYJZwHH0CBNBN+4q8BNWNQ9MKkjN9ST366RmHRzl2ANNgWwijOPxyce7GiUmvuH8Atw==} + '@tauri-apps/cli-linux-arm-gnueabihf@2.0.1': + resolution: {integrity: sha512-OK3/RpxujoZAUbV7GHe4IPAUsIO6IuWEHT++jHXP+YW5Y7QezGGjQRc43IlWaQYej/yE8wfcrwrbqisc5wtiCw==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@tauri-apps/cli-linux-arm64-gnu@1.6.2': - resolution: {integrity: sha512-uaiRE0vE2P+tdsCngfKt+7yKr3VZXIq/t3w01DzSdnBgHSp0zmRsRR4AhZt7ibvoEgA8GzBP+eSHJdFNZsTU9w==} + '@tauri-apps/cli-linux-arm64-gnu@2.0.1': + resolution: {integrity: sha512-MGSQJduiMEApspMK97mFt4kr6ig0OtxO5SUFpPDfYPw/XmY9utaRa9CEG6LcH8e0GN9xxYMhCv+FeU48spYPhA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@tauri-apps/cli-linux-arm64-musl@1.6.2': - resolution: {integrity: sha512-o9JunVrMrhqTBLrdvEbS64W0bo1dPm0lxX51Mx+6x9SmbDjlEWGgaAHC3iKLK9khd5Yu1uO1e+8TJltAcScvmw==} + '@tauri-apps/cli-linux-arm64-musl@2.0.1': + resolution: {integrity: sha512-R6+vgxaPpxgGi4suMkQgGuhjMbZzMJfVyWfv2DOE/xxOzSK1BAOc54/HOjfOLxlnkA6uD6V69MwCwXgxW00A2g==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@tauri-apps/cli-linux-x64-gnu@1.6.2': - resolution: {integrity: sha512-jL9f+o61DdQmNYKIt2Q3BA8YJ+hyC5+GdNxqDf7j5SoQ85j//YfUWbmp9ZgsPHVBxgSGZVvgGMNvf64Ykp0buQ==} + '@tauri-apps/cli-linux-x64-gnu@2.0.1': + resolution: {integrity: sha512-xrasYQnUZVhKJhBxHAeu4KxZbofaQlsG9KfZ9p1Bx+hmjs5BuujzwMnXsVD2a4l6GPW6gwblf2a6d600rySmWQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@tauri-apps/cli-linux-x64-musl@1.6.2': - resolution: {integrity: sha512-xsa4Pu9YMHKAX0J8pIoXfN/uhvAAAoECZDixDhWw8zi57VZ4QX28ycqolS+NscdD9NAGSgHk45MpBZWdvRtvjQ==} + '@tauri-apps/cli-linux-x64-musl@2.0.1': + resolution: {integrity: sha512-SPk+EzRTlbvk46p5aURc7O4GihzxbqG80m74vstm0rolnmQ0FX3qqIh3as3cQpDiZWLod4j6EEmX0mTU3QpvXA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@tauri-apps/cli-win32-arm64-msvc@1.6.2': - resolution: {integrity: sha512-eJtUOx2UFhJpCCkm5M5+4Co9JbjvgIHTdyS/hTSZfOEdT58CNEGVJXMA39FsSZXYoxYPE+9K7Km6haMozSmlxw==} + '@tauri-apps/cli-win32-arm64-msvc@2.0.1': + resolution: {integrity: sha512-LAELK01eOMyEt+JZLmx4EUOdRuPYr1a+mHjlxAxCnCaS3dpeg/c5/NMZfbRAJbAH4id+STRHIfPXTdCT2zUNAw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@tauri-apps/cli-win32-ia32-msvc@1.6.2': - resolution: {integrity: sha512-9Jwx3PrhNw3VKOgPISRRXPkvoEAZP+7rFRHXIo49dvlHy2E/o9qpWi1IntE33HWeazP6KhvsCjvXB2Ai4eGooA==} + '@tauri-apps/cli-win32-ia32-msvc@2.0.1': + resolution: {integrity: sha512-eMUgOS4mAusk5njU2TBxBjCUO1P4cV4uzY5CHihysoXSL2TVQdWrXT42VGeoahJh+yeQWkYFka2s4Bu0iWDMXg==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@tauri-apps/cli-win32-x64-msvc@1.6.2': - resolution: {integrity: sha512-5Z+ZjRFJE8MXghJe1UXvGephY5ZcgVhiTI9yuMi9xgX3CEaAXASatyXllzsvGJ9EDaWMEpa0PHjAzi7LBAWROw==} + '@tauri-apps/cli-win32-x64-msvc@2.0.1': + resolution: {integrity: sha512-U9esAOcFIv80/slzlpwjkG31Wx1OqbfDgC5KjGT1Dd9iUOSuJZCwbiY7m3rYG2I6RWLfd9zhNu86CVohsKjBfA==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@tauri-apps/cli@1.6.2': - resolution: {integrity: sha512-zpfZdxhm20s7d/Uejpg/T3a9sqLVe3Ih2ztINfy8v6iLw9Ohowkb9g+agZffYKlEWfOSpmCy69NFyBLj7OZL0A==} + '@tauri-apps/cli@2.0.1': + resolution: {integrity: sha512-fCheW0iWYWUtFV3ui3HlMhk3ZJpAQ5KJr7B7UmfhDzBSy1h5JBdrCtvDwy+3AcPN+Fg5Ey3JciF8zEP8eBx+vQ==} engines: {node: '>= 10'} hasBin: true @@ -12773,48 +12773,48 @@ snapshots: '@tauri-apps/api@1.6.0': {} - '@tauri-apps/cli-darwin-arm64@1.6.2': + '@tauri-apps/cli-darwin-arm64@2.0.1': optional: true - '@tauri-apps/cli-darwin-x64@1.6.2': + '@tauri-apps/cli-darwin-x64@2.0.1': optional: true - '@tauri-apps/cli-linux-arm-gnueabihf@1.6.2': + '@tauri-apps/cli-linux-arm-gnueabihf@2.0.1': optional: true - '@tauri-apps/cli-linux-arm64-gnu@1.6.2': + '@tauri-apps/cli-linux-arm64-gnu@2.0.1': optional: true - '@tauri-apps/cli-linux-arm64-musl@1.6.2': + '@tauri-apps/cli-linux-arm64-musl@2.0.1': optional: true - '@tauri-apps/cli-linux-x64-gnu@1.6.2': + '@tauri-apps/cli-linux-x64-gnu@2.0.1': optional: true - '@tauri-apps/cli-linux-x64-musl@1.6.2': + '@tauri-apps/cli-linux-x64-musl@2.0.1': optional: true - '@tauri-apps/cli-win32-arm64-msvc@1.6.2': + '@tauri-apps/cli-win32-arm64-msvc@2.0.1': optional: true - '@tauri-apps/cli-win32-ia32-msvc@1.6.2': + '@tauri-apps/cli-win32-ia32-msvc@2.0.1': optional: true - '@tauri-apps/cli-win32-x64-msvc@1.6.2': + '@tauri-apps/cli-win32-x64-msvc@2.0.1': optional: true - '@tauri-apps/cli@1.6.2': + '@tauri-apps/cli@2.0.1': optionalDependencies: - '@tauri-apps/cli-darwin-arm64': 1.6.2 - '@tauri-apps/cli-darwin-x64': 1.6.2 - '@tauri-apps/cli-linux-arm-gnueabihf': 1.6.2 - '@tauri-apps/cli-linux-arm64-gnu': 1.6.2 - '@tauri-apps/cli-linux-arm64-musl': 1.6.2 - '@tauri-apps/cli-linux-x64-gnu': 1.6.2 - '@tauri-apps/cli-linux-x64-musl': 1.6.2 - '@tauri-apps/cli-win32-arm64-msvc': 1.6.2 - '@tauri-apps/cli-win32-ia32-msvc': 1.6.2 - '@tauri-apps/cli-win32-x64-msvc': 1.6.2 + '@tauri-apps/cli-darwin-arm64': 2.0.1 + '@tauri-apps/cli-darwin-x64': 2.0.1 + '@tauri-apps/cli-linux-arm-gnueabihf': 2.0.1 + '@tauri-apps/cli-linux-arm64-gnu': 2.0.1 + '@tauri-apps/cli-linux-arm64-musl': 2.0.1 + '@tauri-apps/cli-linux-x64-gnu': 2.0.1 + '@tauri-apps/cli-linux-x64-musl': 2.0.1 + '@tauri-apps/cli-win32-arm64-msvc': 2.0.1 + '@tauri-apps/cli-win32-ia32-msvc': 2.0.1 + '@tauri-apps/cli-win32-x64-msvc': 2.0.1 '@tootallnate/once@1.1.2': {} diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index b1b03d7..d618042 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -10,10 +10,10 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] -tauri-build = { version = "1.5.5", features = [] } +tauri-build = { version = "2.0.1", features = [] } [dependencies] -tauri = { version = "1.8.0", features = [ "system-tray", "shell-open", "updater", "windows7-compat"] } +tauri = { version = "2.0.1", features = [ "system-tray", "shell-open", "updater", "windows7-compat"] } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128"