Files
photoreport/apps/desktop/src-tauri/tauri.conf.json
T
spark cb67b0c329
ci / rust (pull_request) Successful in 5m3s
ci / typescript (pull_request) Successful in 10m50s
Write folder merges through LightCraft Photo Merge so the DNG keeps colour tags.
A camera raw with no matrix of its own was saved as a linear DNG that other raw tools refused.
2026-10-24 00:50:39 +01:00

51 lines
1.6 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "PhotoReport",
"version": "0.3.24",
"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 -c 'd=\"$PWD\"; while [ \"$d\" != / ] && [ ! -f \"$d/infra/desktop/bundle-onnx.sh\" ]; do d=$(dirname \"$d\"); done; exec bash \"$d/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": []
}
}
}