44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "OpsxDB",
|
|
"version": "0.1.0",
|
|
"identifier": "com.opsx.db",
|
|
"build": {
|
|
"beforeDevCommand": "bash -lc 'curl -fsS http://127.0.0.1:5174 >/dev/null 2>&1 || npm --prefix ../.. run dev:web'",
|
|
"devUrl": "http://127.0.0.1:5174",
|
|
"beforeBuildCommand": "bash -lc 'cd ../.. && VITE_OPSXDB_API=http://127.0.0.1:8788 npm run build:web'",
|
|
"frontendDist": "../../web/dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "OpsxDB",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 960,
|
|
"minHeight": 640,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"label": "main"
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"externalBin": [
|
|
"binaries/opsxdb-server"
|
|
]
|
|
}
|
|
}
|