crux icon indicating copy to clipboard operation
crux copied to clipboard

[WIP] Update counter example to use Tauri v2

Open nuke-web3 opened this issue 1 year ago • 1 comments

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:

nuke-web3 avatar Feb 20 '24 05:02 nuke-web3

Thanks @NukeManDan — let's keep this PR viable and merge it once Tauri v2 is no longer beta.

StuartHarris avatar Feb 24 '24 15:02 StuartHarris

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.

StuartHarris avatar Oct 18 '24 15:10 StuartHarris