Skip to content

Commit cd032a9

Browse files
authored
fix(Tauri): fix capabilities and asset protocol configs (#1292)
* fix(Tauri): fix capabilities and asset protocol configs * support 2-depth
1 parent 0130c3d commit cd032a9

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src-tauri/capabilities/desktop.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@
2121
"path": "**"
2222
},
2323
{
24-
"path": "**/.minecraft"
24+
"path": "**/.*"
2525
},
2626
{
27-
"path": "**/.minecraft/**"
27+
"path": "**/.*/**"
28+
},
29+
{
30+
"path": "**/.*/**/.*"
31+
},
32+
{
33+
"path": "**/.*/**/.*/**"
2834
}
2935
]
3036
},

src-tauri/tauri.conf.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"enable": true,
5454
"scope": [
5555
"**",
56-
"**/.minecraft/**"
56+
"**/.*/**",
57+
"**/.*/**/.*/**"
5758
]
5859
}
5960
}

0 commit comments

Comments
 (0)