-
Notifications
You must be signed in to change notification settings - Fork 4
feat: tauri@2 support #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Cargo.toml
Outdated
| tauri = { version = "^2" } | ||
|
|
||
| [build-dependencies] | ||
| tauri-plugin = { version = "2.0.3", features = ["build"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this version should be "2" for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, fixed!
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
|
Does this PR ready to be reviewed? |
yes! thank you. |
|
hmm, the clippy test seems to have succeeded, only to fail when trying to update an annotation?
|
|
My bad, forget to |
|
Thanks for the review! |

This PR updates the plugin and example/ application to support Tauri version 2.
BREAKING CHANGE: Tauri version 1 is no longer supported.
BREAKING CHANGE: Applications must now specify the needed capabilities from pty. See examples/vanilla/src-tauri/capabilities/default.json. For example:
{ "$schema": "../gen/schemas/desktop-schema.json", "identifier": "default", "description": "Capability for the main window", "windows": [ "main" ], "permissions": [ "core:default", "pty:default", "os:default" ] }