Skip to content

Commit

Permalink
Update tauri to 2.0.1, V2 is finally stable
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Oct 3, 2024
1 parent 5d12dd9 commit ff001ef
Show file tree
Hide file tree
Showing 9 changed files with 208 additions and 319 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ links = "tauri-plugin-clipboard"
repository = "https://github.com/CrossCopy/tauri-plugin-clipboard"

[dependencies]
tauri = { version = "2.0.0-beta" }
tauri = { version = "2.0.1" }
serde = "1.0"
thiserror = "1.0"
base64 = "0.22.1"
image = "0.25.1"
clipboard-rs = "0.2.0"

[build-dependencies]
tauri-plugin = { version = "2.0.0-beta.15", features = ["build"] }
tauri-plugin = { version = "2.0.1", features = ["build"] }
4 changes: 2 additions & 2 deletions examples/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@sveltejs/kit": "^1.20.4",
"@tailwindcss/forms": "0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@tauri-apps/cli": "2.0.0-beta.17",
"@tauri-apps/cli": "2.0.1",
"@types/node": "20.9.0",
"autoprefixer": "10.4.16",
"postcss": "8.4.31",
Expand All @@ -37,7 +37,7 @@
"type": "module",
"dependencies": {
"@floating-ui/dom": "1.5.3",
"@tauri-apps/api": "2.0.0-beta.11",
"@tauri-apps/api": "2.0.1",
"tauri-plugin-clipboard-api": "link:../../"
}
}
101 changes: 50 additions & 51 deletions examples/demo/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/demo/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

[build-dependencies]
tauri-build = { version = "2.0.0-beta", features = [] }
tauri-build = { version = "2.0.1", features = [] }

[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2.0.0-beta", features = [] }
tauri = { version = "2.0.1", features = [] }
tauri-plugin-clipboard = { path = "../../../" }
40 changes: 19 additions & 21 deletions examples/demo/src-tauri/capabilities/default.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": [
"main"
],
"permissions": [
"path:default",
"event:default",
"window:default",
"webview:default",
"app:default",
"resources:default",
"image:default",
"menu:default",
"tray:default",
"clipboard:read-all",
"clipboard:write-all",
"clipboard:monitor-all"
]
}
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": ["main"],
"permissions": [
"core:path:default",
"core:event:default",
"core:window:default",
"core:webview:default",
"core:app:default",
"core:resources:default",
"core:image:default",
"core:menu:default",
"core:tray:default",
"clipboard:read-all",
"clipboard:write-all",
"clipboard:monitor-all"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"peerDependencies": {},
"dependencies": {
"valibot": "^0.40.0",
"@tauri-apps/api": "2.0.0-beta.11"
"@tauri-apps/api": "2.0.1"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
Expand Down
2 changes: 1 addition & 1 deletion permissions/autogenerated/reference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

### Permission Table
## Permission Table

<table>
<tr>
Expand Down
Loading

0 comments on commit ff001ef

Please sign in to comment.