Skip to content

Commit

Permalink
🔧 Update security rules and package nameˆ
Browse files Browse the repository at this point in the history
  • Loading branch information
acollierr17 committed Jul 23, 2022
1 parent 0cfd21f commit aa9d016
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,25 @@
},
"tauri": {
"allowlist": {
"all": true
"http": {
"request": true,
"scope": ["https://api.github.com/repos/suggestionsbot/*", "https://api.github.com/repos/acollierr17/*", "https://*.unsplash.com/*"]
},
"dialog": {
"message": true,
"open": true
},
"path": {
"all": true
},
"fs": {
"scope": ["$APP/backgrounds/*"],
"writeFile": true,
"readFile": true,
"createDir": true,
"readDir": true,
"copyFile": true
}
},
"bundle": {
"active": true,
Expand All @@ -29,7 +47,7 @@
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.tauri.dev",
"identifier": "dev.acollier.desktop-changer",
"longDescription": "",
"macOS": {
"entitlements": null,
Expand Down Expand Up @@ -63,4 +81,4 @@
}
]
}
}
}
10 changes: 10 additions & 0 deletions src-tauri/tauri.dev.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ˆ¨ˆˆ{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"tauri": {
"allowlist": {
"fs": {
"scope": ["$DOWNLOAD/*"]
}
}
}
}

0 comments on commit aa9d016

Please sign in to comment.