2023-12-15 20:25:35 +08:00
|
|
|
{
|
|
|
|
"build": {
|
|
|
|
"beforeDevCommand": "pnpm dev",
|
|
|
|
"beforeBuildCommand": "pnpm build",
|
2024-07-11 23:58:57 +08:00
|
|
|
"devPath": "http://127.0.0.1:6130",
|
2024-03-10 11:54:46 +08:00
|
|
|
"distDir": "../dist",
|
|
|
|
"withGlobalTauri": true
|
2023-12-15 20:25:35 +08:00
|
|
|
},
|
|
|
|
"package": {
|
2024-03-12 01:11:35 +08:00
|
|
|
"productName": "HuLa",
|
2024-07-03 18:59:13 +08:00
|
|
|
"version": "1.6.0"
|
2023-12-15 20:25:35 +08:00
|
|
|
},
|
|
|
|
"tauri": {
|
2024-03-12 01:11:35 +08:00
|
|
|
"updater": {
|
|
|
|
"windows": {
|
|
|
|
"installMode": "basicUi"
|
|
|
|
}
|
|
|
|
},
|
2023-12-15 20:25:35 +08:00
|
|
|
"allowlist": {
|
|
|
|
"all": false,
|
2024-03-25 23:57:42 +08:00
|
|
|
"notification": {
|
|
|
|
"all": true
|
|
|
|
},
|
2024-03-31 23:23:34 +08:00
|
|
|
"os": {
|
|
|
|
"all": true
|
|
|
|
},
|
|
|
|
"process": {
|
|
|
|
"all": true
|
|
|
|
},
|
2023-12-15 20:25:35 +08:00
|
|
|
"shell": {
|
|
|
|
"all": false,
|
|
|
|
"open": true
|
2024-01-15 12:58:36 +08:00
|
|
|
},
|
|
|
|
"http": {
|
2024-06-21 18:27:34 +08:00
|
|
|
"all": true,
|
|
|
|
"request": true,
|
2024-07-11 23:58:57 +08:00
|
|
|
"scope": ["http://127.0.0.1:9190/*", "https://**"]
|
2024-01-15 12:58:36 +08:00
|
|
|
},
|
|
|
|
"fs": {
|
|
|
|
"all": true,
|
2024-03-10 11:54:46 +08:00
|
|
|
"scope": ["*/**"]
|
2024-01-15 12:58:36 +08:00
|
|
|
},
|
|
|
|
"window": {
|
|
|
|
"all": true
|
2023-12-15 20:25:35 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"bundle": {
|
|
|
|
"active": true,
|
2024-03-25 23:57:42 +08:00
|
|
|
"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
|
|
|
|
},
|
2024-01-20 08:01:05 +08:00
|
|
|
"macOSPrivateApi": true,
|
2023-12-15 20:25:35 +08:00
|
|
|
"windows": [
|
|
|
|
{
|
2024-02-18 16:04:38 +08:00
|
|
|
"title": "登录",
|
2024-01-15 22:38:24 +08:00
|
|
|
"label": "login",
|
|
|
|
"url": "/login",
|
2023-12-15 20:25:35 +08:00
|
|
|
"fullscreen": false,
|
2024-01-17 02:50:48 +08:00
|
|
|
"resizable": false,
|
2023-12-17 02:21:55 +08:00
|
|
|
"center": true,
|
2024-01-15 22:38:24 +08:00
|
|
|
"width": 320,
|
|
|
|
"height": 448,
|
2024-01-15 06:14:04 +08:00
|
|
|
"skipTaskbar": false,
|
2024-08-06 22:19:36 +08:00
|
|
|
"decorations": false
|
2024-03-20 23:56:17 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "tray",
|
|
|
|
"url": "/tray",
|
|
|
|
"resizable": false,
|
|
|
|
"center": false,
|
|
|
|
"visible": false,
|
|
|
|
"width": 130,
|
2024-04-08 21:16:34 +08:00
|
|
|
"height": 44,
|
2024-03-20 23:56:17 +08:00
|
|
|
"alwaysOnTop": true,
|
|
|
|
"skipTaskbar": true,
|
|
|
|
"decorations": false
|
2023-12-15 20:25:35 +08:00
|
|
|
}
|
2024-01-12 21:16:01 +08:00
|
|
|
],
|
|
|
|
"systemTray": {
|
2024-03-19 23:41:41 +08:00
|
|
|
"iconPath": "icons/icon.ico",
|
2024-01-12 21:16:01 +08:00
|
|
|
"iconAsTemplate": true
|
|
|
|
}
|
2023-12-15 20:25:35 +08:00
|
|
|
}
|
|
|
|
}
|