crux
crux copied to clipboard
[WIP] Update counter example to use Tauri v2
WIP Draft
Working (on my machine :upside_down_face: ) example updated using https://beta.tauri.app/blog/tauri-2-0-0-beta/ .
Feel free to close if not wanted, as I know it's too early to update here to an unstable dependency.I am hopeful once v2 is out, this PR will still be viable. :crossed_fingers:
Todo
- [x] Built tauri app emits "Unhandled Promise Rejection: event.listen not allowed. Permissions associated with this command: event:allow-listen, event:default"... https://beta.tauri.app/references/v2/js/core/namespaceevent/#listen seems to be related... maybe tauri has new security measures?
- [x] https://beta.tauri.app/references/v2/acl/ indeed, you must add a new config file :ok:
Thanks @NukeManDan — let's keep this PR viable and merge it once Tauri v2 is no longer beta.
Now that 2.0 has been released, I'm closing this, as the changes are now included in https://github.com/redbadger/crux/pull/276 Thank you @nuke-web3 this was very useful.