{ "$schema": "https://schema.tauri.app/config/2", "productName": "knock", "mainBinaryName": "knock-app", "version": "0.1.0", "identifier": "de.joshicodes.knock", "build": { "beforeDevCommand": "npm run dev", "devUrl": "http://localhost:1420", "beforeBuildCommand": "npm run build", "frontendDist": "../dist" }, "app": { "withGlobalTauri": false, "windows": [ { "label": "main", "title": "knock", "width": 1360, "height": 860, "minWidth": 820, "minHeight": 520, "decorations": false, "backgroundColor": "#15181E" } ], "security": { "csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost blob: data:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; frame-src blob: data:; connect-src ipc: http://ipc.localhost" } }, "plugins": { "deep-link": { "desktop": { "schemes": [ "knock" ] } } }, "bundle": { "active": true, "targets": [ "deb", "rpm", "appimage" ], "category": "DeveloperTool", "shortDescription": "API client for REST, GraphQL and WebSocket", "longDescription": "knock is an offline desktop API client that stores collections as plain YAML files.", "license": "MIT", "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ], "linux": { "deb": { "depends": [ "libwebkit2gtk-4.1-0", "libgtk-3-0" ], "desktopTemplate": "../packaging/linux/knock.desktop.hbs", "files": { "/usr/bin/knock": "../target/release/knock" } }, "rpm": { "depends": [ "webkit2gtk4.1" ], "desktopTemplate": "../packaging/linux/knock.desktop.hbs", "files": { "/usr/bin/knock": "../target/release/knock" } } } } }