VizTyp/src-tauri/tauri.conf.json

44 lines
1.2 KiB
JSON

{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "VizTyp",
"version": "0.1.0",
"identifier": "com.viztyp.app",
"build": {
"frontendDist": "../packages/frontend/dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "yarn frontend:dev",
"beforeBuildCommand": "yarn frontend:build"
},
"app": {
"windows": [
{
"title": "VizTyp",
"width": 1280,
"height": 800,
"minWidth": 800,
"minHeight": 500,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' data: blob: https:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' https://cdn.jsdelivr.net ipc: http://ipc.localhost http://127.0.0.1:7480"
}
},
"bundle": {
"active": true,
"targets": "all",
"externalBin": ["binaries/viztyp-server"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"android": {
"debugApplicationIdSuffix": ".debug"
}
}
}