Skip to content
Discussion options

You must be logged in to vote

The main advantage of tauris fs api is that it actually works in tauri windows lol. Tauri apps don't run in a nodejs context. It's kinda similar to trying to use nodejs in a browser.

To solve the problem you could use https://doc.rust-lang.org/std/os/unix/fs/trait.PermissionsExt.html if know rust or execute a Command consisting of a chmod/chown call otherwise.
(it's possible that i missed a better alternative here...)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NikolaGrgic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants