update to tauri v2

pull/1863/head
Lucas Nogueira 8 months ago
parent 0975a687a0
commit c8bff07c7f
No known key found for this signature in database
GPG Key ID: 7C32FCA95C8C95D7

@ -11,10 +11,10 @@ resolver = "2"
[workspace.dependencies] [workspace.dependencies]
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
log = "0.4" log = "0.4"
tauri = { version = "2.0.0-rc.16", default-features = false } tauri = { version = "2.0.0", default-features = false }
tauri-build = "2.0.0-rc.13" tauri-build = "2.0.0"
tauri-plugin = "2.0.0-rc.13" tauri-plugin = "2.0.0"
tauri-utils = "2.0.0-rc.13" tauri-utils = "2.0.0"
serde_json = "1" serde_json = "1"
thiserror = "1" thiserror = "1"
url = "2" url = "2"

@ -9,7 +9,7 @@
"serve": "vite preview" "serve": "vite preview"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "2.0.0-rc.6", "@tauri-apps/api": "2.0.0",
"@tauri-apps/plugin-barcode-scanner": "2.0.0-rc.2", "@tauri-apps/plugin-barcode-scanner": "2.0.0-rc.2",
"@tauri-apps/plugin-biometric": "2.0.0-rc.1", "@tauri-apps/plugin-biometric": "2.0.0-rc.1",
"@tauri-apps/plugin-cli": "2.0.0-rc.1", "@tauri-apps/plugin-cli": "2.0.0-rc.1",
@ -33,7 +33,7 @@
"@iconify-json/codicon": "^1.1.37", "@iconify-json/codicon": "^1.1.37",
"@iconify-json/ph": "^1.1.8", "@iconify-json/ph": "^1.1.8",
"@sveltejs/vite-plugin-svelte": "^3.0.1", "@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tauri-apps/cli": "2.0.0-rc.17", "@tauri-apps/cli": "2.0.0",
"@unocss/extractor-svelte": "^0.63.0", "@unocss/extractor-svelte": "^0.63.0",
"svelte": "^4.2.19", "svelte": "^4.2.19",
"unocss": "^0.63.0", "unocss": "^0.63.0",

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-autostart = "2.0.0-rc" tauri-plugin-autostart = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-barcode-scanner = "2.0.0-rc" tauri-plugin-barcode-scanner = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-barcode-scanner = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-barcode-scanner = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-biometric = "2.0.0-rc" tauri-plugin-biometric = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-biometric = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-biometric = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -27,7 +27,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
# you can add the dependencies on the `[dependencies]` section if you do not target mobile # you can add the dependencies on the `[dependencies]` section if you do not target mobile
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] [target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
tauri-plugin-cli = "2.0.0-rc" tauri-plugin-cli = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-cli = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-cli = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-clipboard-manager = "2.0.0-rc" tauri-plugin-clipboard-manager = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-clipboard-manager = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-clipboard-manager = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-deep-link = "2.0.0-rc" tauri-plugin-deep-link = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-deep-link = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-deep-link = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -10,7 +10,7 @@
"tauri": "tauri" "tauri": "tauri"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "2.0.0-rc.6", "@tauri-apps/api": "2.0.0",
"@tauri-apps/plugin-deep-link": "2.0.0-rc.2" "@tauri-apps/plugin-deep-link": "2.0.0-rc.2"
}, },
"devDependencies": { "devDependencies": {

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-dialog = "2.0.0-rc" tauri-plugin-dialog = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-dialog = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-dialog = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-fs = "2.0.0-rc" tauri-plugin-fs = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-fs = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-geolocation = "2.0.0-rc" tauri-plugin-geolocation = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-geolocation = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-geolocation = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -27,7 +27,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
# you can add the dependencies on the `[dependencies]` section if you do not target mobile # you can add the dependencies on the `[dependencies]` section if you do not target mobile
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] [target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
tauri-plugin-global-shortcut = "2.0.0-rc" tauri-plugin-global-shortcut = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-global-shortcut = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-global-shortcut = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -28,7 +28,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-haptics = "2.0.0-rc" tauri-plugin-haptics = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-haptics = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-haptics = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-http = "2.0.0-rc" tauri-plugin-http = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-http = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-http = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -29,7 +29,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
portpicker = "0.1" # used in the example to pick a random free port portpicker = "0.1" # used in the example to pick a random free port
tauri-plugin-localhost = "2.0.0-rc" tauri-plugin-localhost = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-localhost = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-log = "2.0.0-rc" tauri-plugin-log = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-nfc = "2.0.0-rc" tauri-plugin-nfc = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-nfc = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-nfc = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-notification = "2.0.0-rc" tauri-plugin-notification = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-notification = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-notification = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-os = "2.0.0-rc" tauri-plugin-os = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-os = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-os = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-persisted-scope = "2.0.0-rc" tauri-plugin-persisted-scope = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-persisted-scope = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-persisted-scope = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -28,7 +28,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-positioner = "2.0.0-rc" tauri-plugin-positioner = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-positioner = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-positioner = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-process = "2.0.0-rc" tauri-plugin-process = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-shell = "2.0.0-rc" tauri-plugin-shell = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-shell = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-shell = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-single-instance = "2.0.0-rc" tauri-plugin-single-instance = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -27,7 +27,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies.tauri-plugin-sql] [dependencies.tauri-plugin-sql]
features = ["sqlite"] # or "postgres", or "mysql" features = ["sqlite"] # or "postgres", or "mysql"
version = "2.0.0-rc" version = "2.0.0"
# alternatively with Git # alternatively with Git
git = "https://github.com/tauri-apps/plugins-workspace" git = "https://github.com/tauri-apps/plugins-workspace"
branch = "v2" branch = "v2"

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-store = "2.0.0-rc" tauri-plugin-store = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-stronghold = "2.0.0-rc" tauri-plugin-stronghold = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-stronghold = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-stronghold = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -27,7 +27,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
# you can add the dependencies on the `[dependencies]` section if you do not target mobile # you can add the dependencies on the `[dependencies]` section if you do not target mobile
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] [target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
tauri-plugin-updater = "2.0.0-rc" tauri-plugin-updater = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-updater = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-updater = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -27,7 +27,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-upload = "2.0.0-rc" tauri-plugin-upload = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-upload = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-upload = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-websocket = "2.0.0-rc" tauri-plugin-websocket = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-websocket = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-websocket = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-window-state = "2.0.0-rc" tauri-plugin-window-state = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -25,6 +25,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

@ -26,7 +26,7 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml ```toml
[dependencies] [dependencies]
tauri-plugin-PLUGIN_NAME = "2.0.0-rc" tauri-plugin-PLUGIN_NAME = "2.0.0"
# alternatively with Git: # alternatively with Git:
tauri-plugin-PLUGIN_NAME = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-PLUGIN_NAME = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
``` ```

@ -24,6 +24,6 @@
"LICENSE" "LICENSE"
], ],
"dependencies": { "dependencies": {
"@tauri-apps/api": "^2.0.0-rc.6" "@tauri-apps/api": "^2.0.0"
} }
} }

Loading…
Cancel
Save