Files
photoreport/apps/desktop/src-tauri/tauri.conf.json
spark 45c97bbcb2
ci / rust (pull_request) Failing after 43s
ci / typescript (pull_request) Failing after 2m22s
Show what the folder search is doing before the first photo.
The wait names the step (download, count, graphics, load) and how long it has already taken, so a first-time prepare is not a frozen sentence.
2026-10-17 21:48:25 +01:00

51 lines
1.5 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "PhotoReport",
"version": "0.3.16",
"identifier": "pt.photoreport.desktop",
"build": {
"devUrl": "http://localhost:5173",
"frontendDist": "../../app/dist",
"beforeDevCommand": "pnpm --filter @photoreport/app dev",
"beforeBuildCommand": "pnpm --filter @photoreport/app build",
"beforeBundleCommand": "bash ../../../infra/desktop/bundle-onnx.sh"
},
"app": {
"windows": [
{
"title": "PhotoReport",
"width": 1440,
"height": 900,
"minWidth": 1024,
"minHeight": 680,
"backgroundColor": "#121314",
"create": false,
"label": "main"
}
],
"security": {
"csp": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval' blob:; worker-src 'self' blob:; connect-src 'self' ipc: http://ipc.localhost https://*.photoreport.pt wss://*.photoreport.pt http://localhost:3000 ws://localhost:3000; img-src 'self' data: blob: https://*.photoreport.pt http://localhost:3000; style-src 'self' 'unsafe-inline'; font-src 'self' data:"
}
},
"bundle": {
"active": true,
"resources": ["onnx/"],
"targets": "all",
"category": "Photography",
"shortDescription": "PhotoReport desktop",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"updater": {
"pubkey": "",
"endpoints": []
}
}
}