Skip to content

Commit 566a730

Browse files
committed
permission change to allow mapping external drive like samba
1 parent 4669068 commit 566a730

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

‎src-tauri/capabilities/default.json‎

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,22 @@
1414
"shell:allow-open",
1515
"dialog:default",
1616
"fs:default",
17-
"fs:allow-read-dir",
18-
"fs:allow-read-text-file",
19-
"fs:allow-write-text-file",
20-
"fs:allow-exists",
21-
"fs:read-all",
22-
"fs:write-all",
23-
"fs:scope-home-recursive",
17+
{
18+
"identifier": "fs:read-all",
19+
"allow": [
20+
{
21+
"path": "**"
22+
}
23+
]
24+
},
25+
{
26+
"identifier": "fs:write-all",
27+
"allow": [
28+
{
29+
"path": "**"
30+
}
31+
]
32+
},
2433
{
2534
"identifier": "http:default",
2635
"allow": [

0 commit comments

Comments
 (0)