HuLa/src-tauri/tauri.conf.json

101 lines
1.9 KiB
JSON
Raw Normal View History

2023-12-15 20:25:35 +08:00
{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://127.0.0.1:6130",
"distDir": "../dist",
"withGlobalTauri": true
2023-12-15 20:25:35 +08:00
},
"package": {
"productName": "HuLa",
2024-07-03 18:59:13 +08:00
"version": "1.6.0"
2023-12-15 20:25:35 +08:00
},
"tauri": {
"updater": {
"windows": {
"installMode": "basicUi"
}
},
2023-12-15 20:25:35 +08:00
"allowlist": {
"all": false,
"notification": {
"all": true
},
"os": {
"all": true
},
"process": {
"all": true
},
2023-12-15 20:25:35 +08:00
"shell": {
"all": false,
"open": true
},
"http": {
"all": true,
"request": true,
"scope": ["http://127.0.0.1:9190/*", "https://**"]
},
"fs": {
"all": true,
"scope": ["*/**"]
},
"window": {
"all": true
2023-12-15 20:25:35 +08:00
}
},
"bundle": {
"active": true,
"resources": ["tray"],
2023-12-15 20:25:35 +08:00
"targets": "all",
2023-12-16 03:56:10 +08:00
"identifier": "com.tauri.build",
2024-03-09 04:04:05 +08:00
"windows": {
"wix": {
"language": "zh-CN"
}
},
2023-12-15 20:25:35 +08:00
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
},
"security": {
"csp": null
},
"macOSPrivateApi": true,
2023-12-15 20:25:35 +08:00
"windows": [
{
"title": "登录",
"label": "login",
"url": "/login",
2023-12-15 20:25:35 +08:00
"fullscreen": false,
"resizable": false,
"center": true,
"width": 320,
"height": 448,
"skipTaskbar": false,
"decorations": false
},
{
"label": "tray",
"url": "/tray",
"resizable": false,
"center": false,
"visible": false,
"width": 130,
"height": 44,
"alwaysOnTop": true,
"skipTaskbar": true,
"decorations": false
2023-12-15 20:25:35 +08:00
}
],
"systemTray": {
"iconPath": "icons/icon.ico",
"iconAsTemplate": true
}
2023-12-15 20:25:35 +08:00
}
}