Skip to content

Commit

Permalink
Fix scope issue in bazzite/linux immutable os
Browse files Browse the repository at this point in the history
This fixes 
YARC-Official#50

In bazzite, user config folder is at $HOME/.config
Without setting requireLiteralLeadingDot to false, it requires that scopes explicitly add the ".".
Setting requireLiteralLeadingDot to false (default in linux is true), and adding "**" to the scope seems to be the only combination that i managed to get working.
  • Loading branch information
giwty authored Feb 18, 2025
1 parent a813cce commit 218c979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src-tauri/tauri.conf.json5
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
"readFile": true,
"writeFile": true,
"removeFile": true,
"scope": [ "$APPCONFIG", "$APPCONFIG/*" ]
"scope": {
"allow":[ "$APPCONFIG", "$APPCONFIG/*", "**"],
"requireLiteralLeadingDot":false
}
},
"process": {
// Required for changing the download location
Expand Down

0 comments on commit 218c979

Please sign in to comment.