How to read any files? #7850
Unanswered
ngdangtu-vn
asked this question in
Q&A
Replies: 1 comment
-
If you want to read the files in rust then you don't need to worry about the scope anyway. It will only be applied to the javascript side. That said, if you use tauri's file dialog the scope will be expanded automatically. You can also expand the scope dynamically yourself: https://docs.rs/tauri/latest/tauri/trait.Manager.html#method.fs_scope (that really needs a doc example...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I plan to build a text editor, and I can not ask users copy their files to a scope directory for my app to load. Is there anyway to open file(s) from anywhere in PC with user permission?
I prefer Rust way for performance.
Beta Was this translation helpful? Give feedback.
All reactions