Closed kingzcheung closed 1 week ago
Did you configure the scope in tauri.conf.json? (the asset protocol is the only thing still using the scope instead of the new ACL) https://github.com/tauri-apps/tauri/blob/dev/examples/api/src-tauri/tauri.conf.json#L30-L36
Ah nvm, i somehow skipped over the mention of the dialog use, disregard the scope setting, but you may still have to use enabled: true
🤔
Did you configure the scope in tauri.conf.json? (the asset protocol is the only thing still using the scope instead of the new ACL) https://github.com/tauri-apps/tauri/blob/dev/examples/api/src-tauri/tauri.conf.json#L30-L36
I had set it up, but it cannot solve this issue
Would it be possible to create a minimal reproduction repo we can check out?
If not, please share the capability file(s) in src-tauri/capabilities/
for a start.
Sorry, I had abandoned the tauri v2
Describe the bug
let entities = await readDir(selected) //... // for entities let filepath = await join(selected,entity.name) let src = convertFileSrc(filepath)
asset path
src
gotReproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response