expose tauri fs api

This commit is contained in:
Felix Roos 2023-06-29 02:01:22 +02:00
parent cc6997baec
commit 610ea414c1
2 changed files with 8 additions and 3 deletions

View file

@ -4,7 +4,8 @@
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run dev",
"devPath": "http://localhost:3000",
"distDir": "../website/dist"
"distDir": "../website/dist",
"withGlobalTauri": true
},
"package": {
"productName": "Strudel",
@ -12,7 +13,11 @@
},
"tauri": {
"allowlist": {
"all": false
"all": false,
"fs": {
"all": true,
"scope": ["$AUDIO/**", "$AUDIO"]
}
},
"bundle": {
"active": true,