chore: allowlist

This commit is contained in:
lencx
2023-03-01 19:21:59 +08:00
parent 0c0197f0b4
commit 71b257c0cf
8 changed files with 148 additions and 177 deletions

View File

@@ -7,19 +7,38 @@
},
"package": {
"productName": "ChatGPT",
"version": "0.11.0"
"version": "0.11.99"
},
"tauri": {
"allowlist": {
"all": true,
"all": false,
"globalShortcut": {
"all": true
},
"fs": {
"all": true,
"all": false,
"readFile": true,
"writeFile": true,
"readDir": true,
"createDir": true,
"exists": true,
"removeFile": true,
"removeDir": true,
"scope": [
"$HOME/.chatgpt/**"
]
},
"path": {
"all": true
},
"os": {
"all": true
},
"process": {
"all": true,
"exit": true,
"relaunch": true,
"relaunchDangerousAllowSymlinkMacos": true
}
},
"systemTray": {