mirror of
https://gitee.com/HuLaSpark/HuLa.git
synced 2024-11-29 18:28:30 +08:00
16b08797ec
修复创建新窗口时页面白屏问题 BREAKING CHANGE: 修复mac端图标和windows端图标的大小不一致问题|重新单独配置不同系统的不同tauri.conf.json文件
86 lines
2.0 KiB
JSON
86 lines
2.0 KiB
JSON
{
|
|
"productName": "HuLa",
|
|
"version": "2.1.0",
|
|
"identifier": "com.tauri.build",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://127.0.0.1:6130"
|
|
},
|
|
"bundle": {
|
|
"resources": [
|
|
"tray"
|
|
],
|
|
"active": true,
|
|
"targets": ["msi"],
|
|
"icon": [
|
|
"icons/windows/32x32.png",
|
|
"icons/windows/128x128.png",
|
|
"icons/windows/128x128@2x.png",
|
|
"icons/windows/icon.icns",
|
|
"icons/windows/icon.ico",
|
|
"icons/windows/icon.png",
|
|
"icons/windows/Square30x30Logo.png",
|
|
"icons/windows/Square44x44Logo.png",
|
|
"icons/windows/Square71x71Logo.png",
|
|
"icons/windows/Square89x89Logo.png",
|
|
"icons/windows/Square107x107Logo.png",
|
|
"icons/windows/Square142x142Logo.png",
|
|
"icons/windows/Square150x150Logo.png",
|
|
"icons/windows/Square284x284Logo.png",
|
|
"icons/windows/Square310x310Logo.png",
|
|
"icons/windows/StoreLogo.png"
|
|
],
|
|
"windows": {
|
|
"wix": {
|
|
"language": "zh-CN"
|
|
}
|
|
}
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "login",
|
|
"url": "/login",
|
|
"fullscreen": false,
|
|
"resizable": false,
|
|
"center": true,
|
|
"width": 320,
|
|
"height": 448,
|
|
"skipTaskbar": false,
|
|
"transparent": false,
|
|
"visible": false,
|
|
"decorations": false
|
|
},
|
|
{
|
|
"label": "tray",
|
|
"url": "/tray",
|
|
"resizable": false,
|
|
"center": false,
|
|
"visible": false,
|
|
"width": 130,
|
|
"height": 44,
|
|
"alwaysOnTop": true,
|
|
"skipTaskbar": true,
|
|
"decorations": false
|
|
},
|
|
{
|
|
"label": "capture",
|
|
"url": "/capture",
|
|
"fullscreen": false,
|
|
"transparent": true,
|
|
"resizable": false,
|
|
"skipTaskbar": false,
|
|
"decorations": false,
|
|
"visible": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
},
|
|
"macOSPrivateApi": true
|
|
}
|
|
}
|