Files
games/crates/apps/game-reflex-poc-tauri/tauri.conf.json

37 lines
1.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Reflex POC Tauri",
"version": "0.1.0-2-beta.1.fix.3",
"identifier": "com.sasedev.games.reflex.tauri",
"build": {
"beforeDevCommand": {
"script": "python3 ../../../scripts/build_reflex_tauri_wasm.py && npm run dev",
"cwd": "."
},
"devUrl": "http://localhost:1432",
"beforeBuildCommand": {
"script": "python3 ../../../scripts/build_reflex_tauri_wasm.py && npm run build",
"cwd": "."
},
"frontendDist": "../../../../builds/sasedev-games/game-reflex-poc-tauri/dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "Reflex POC Tauri",
"width": 405,
"height": 720,
"resizable": true
}
],
"security": {
"csp": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self' ipc: http://ipc.localhost http://localhost:1432 ws://localhost:1433"
}
},
"bundle": {
"active": false,
"icon": ["icons/icon.png"]
}
}