fix(#2): 修复无法创建文件的问题

This commit is contained in:
BTMuli
2023-03-08 08:15:26 +08:00
parent 6231730e49
commit 1b61793970
2 changed files with 15 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
"beforeBuildCommand": "npm run build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
"withGlobalTauri": true
},
"package": {
"productName": "tauri-genshin",
@@ -13,6 +13,10 @@
"tauri": {
"allowlist": {
"all": true,
"fs": {
"all": true,
"scope": ["**", "**/*"]
},
"http": {
"all": true,
"request": true,
@@ -26,7 +30,7 @@
"bundle": {
"active": true,
"icon": ["icons/icon.png", "icons/icon.ico"],
"identifier": "com.tauri.dev",
"identifier": "tauri-genshin",
"targets": "all"
},
"security": {