The release publishes the server archive and the desktop installers under one tag, and the installer looks for the release named after its own version, so both now carry 1.0.0.
52 lines
1.6 KiB
JSON
52 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Waggle",
|
|
"version": "1.0.0",
|
|
"identifier": "com.egzakta.waggle",
|
|
"build": {
|
|
"frontendDist": "../../apps/web/dist",
|
|
"devUrl": "http://localhost:8080",
|
|
"beforeDevCommand": "cd ../apps/web && npx vite",
|
|
"beforeBuildCommand": "node ../scripts/build-sidecar.mjs && node ../scripts/check-sidecar-resources.mjs && cd ../apps/web && npx vite build"
|
|
},
|
|
"bundle": {
|
|
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico", "icons/icon.png"],
|
|
"active": true,
|
|
"targets": "all",
|
|
"resources": ["resources/*", "resources/native/*", "resources/native/onnxruntime/*", "resources/node_modules/**/*"],
|
|
"windows": {
|
|
"nsis": {
|
|
"installerHooks": "nsis/installer.nsi",
|
|
"installerIcon": "icons/icon.ico",
|
|
"installMode": "currentUser",
|
|
"languages": ["English"],
|
|
"displayLanguageSelector": false
|
|
}
|
|
}
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Waggle",
|
|
"create": false,
|
|
"width": 1200,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"dataDirectory": "webview",
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"decorations": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; connect-src 'self' ipc: http://ipc.localhost http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* https://us.i.posthog.com; style-src 'self' 'unsafe-inline'; script-src 'self'; img-src 'self' data:"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
}
|
|
}
|
|
}
|