Files
game_install_tools/src-tauri/tauri.conf.json
Chaos 4773d3615b feat(tauri): 添加游戏配置文件并更新打包设置
- 新增 config.json 配置文件,定义游戏名称、存档名、可执行文件路径等
- 在 tauri.conf.json 中为 Windows 平台添加 WiX 安装程序语言设置
- 移除旧的资源文件引用,精简打包配置结构
- 统一图标资源路径配置,支持多尺寸图标- 设置默认安装目录和快捷方式名称,优化用户体验
2025-11-11 21:11:33 +08:00

47 lines
846 B
JSON

{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "NoPJ安装器",
"version": "0.1.0",
"identifier": "cn.nopj.gametools",
"build": {
"frontendDist": "../build",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build"
},
"app": {
"windows": [
{
"title": "Game Install",
"width": 1280,
"height": 720,
"resizable": false,
"fullscreen": false,
"decorations": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"windows": {
"wix": {
"language": "zh-CN"
}
},
"icon": [
"icons/logo.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}