api-client/packages/hoppscotch-desktop/src-tauri/tauri.portable.macos.conf.json
2026-04-28 00:48:24 +05:30

62 lines
1.8 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Hoppscotch",
"version": "26.4.0",
"identifier": "io.hoppscotch.desktop",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://127.0.0.1:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "main",
"width": 500,
"height": 700,
"decorations": false,
"alwaysOnTop": true,
"resizable": false
}
],
"security": {
"csp": {
"default-src": "blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' customprotocol: asset:",
"script-src": "* 'self' 'unsafe-eval' 'wasm-unsafe-eval' 'unsafe-inline'",
"connect-src": "ipc: http://ipc.localhost https://api.hoppscotch.io data: *",
"font-src": "https://fonts.gstatic.com data: 'self' *",
"img-src": "'self' asset: http://asset.localhost blob: data: customprotocol: *",
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com data: asset: *",
"worker-src": "* 'self' data: 'unsafe-eval' blob:"
}
}
},
"bundle": {
"active": true,
"targets": "all",
"createUpdaterArtifacts": false,
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["io.hoppscotch.desktop"]
}
},
"updater": {
"active": true,
"endpoints": [
"https://releases.hoppscotch.com/hoppscotch-selfhost-desktop.json"
],
"dialog": false,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDYwOURFNEY4RDRGMDQxNTgKUldSWVFmRFUrT1NkWUc1RDM0Z2ZjTHE2dG52Q3ZlYzg3ZXVpZU9KaENPWTBMd3MwY0hWa1lreDcK"
}
}
}