TauriTavern/src-tauri/tauri.conf.json
2026-02-24 10:42:10 +08:00

58 lines
1.2 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "TauriTavern",
"version": "1.2.0-beta",
"identifier": "com.tauritavern.client",
"build": {
"frontendDist": "../src",
"removeUnusedCommands": true
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "TauriTavern",
"width": 1280,
"height": 800,
"minWidth": 800,
"minHeight": 600,
"resizable": true,
"fullscreen": false,
"center": true
}
],
"security": {
"csp": null,
"assetProtocol": {
"enable": true,
"scope": [
"$APPCACHE/**",
"$APPCACHE/*",
"$APPDATA/**",
"$APPDATA/*",
"$APPLOCALDATA/**",
"$APPLOCALDATA/*",
"$LOCALDATA/**",
"$LOCALDATA/*",
"$RESOURCE/**",
"$RESOURCE/*"
]
}
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": {
"../default/": "default/",
"../src/scripts/templates/": "frontend-templates/"
}
}
}