HuLa/src-tauri/tauri.conf.json
2024-03-12 09:02:22 +08:00

78 lines
1.5 KiB
JSON

{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://localhost:6130",
"distDir": "../dist",
"withGlobalTauri": true
},
"package": {
"productName": "HuLa",
"version": "1.3.0"
},
"tauri": {
"updater": {
"windows": {
"installMode": "basicUi"
}
},
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true
},
"http": {
"scope": ["http://**", "https://**"]
},
"fs": {
"all": true,
"scope": ["*/**"]
},
"window": {
"all": true
}
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.tauri.build",
"windows": {
"wix": {
"language": "zh-CN"
}
},
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
},
"security": {
"csp": null
},
"macOSPrivateApi": true,
"windows": [
{
"title": "登录",
"label": "login",
"url": "/login",
"fullscreen": false,
"resizable": false,
"center": true,
"width": 320,
"height": 448,
"skipTaskbar": false,
"decorations": false,
"transparent":true
}
],
"systemTray": {
"iconPath": "icons/icon.png",
"iconAsTemplate": true
}
}
}