mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:09:41 +01:00
- Tauri updater with the release signing key; macOS and Windows offer Install and restart in the update notice, with download progress - The release workflow signs the macOS app archive and the Windows installer when the key secret is present and publishes latest.json - Linux keeps the notice; updates there come from the package manager
90 lines
2.3 KiB
JSON
90 lines
2.3 KiB
JSON
{
|
|
"$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"
|
|
]
|
|
}
|
|
},
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDM2QjY4RUU5MzQwNzQzNTIKUldSU1F3YzA2WTYyTnNPZU0zR0xQUjl4dmUvQlpZazJkVXhjUE1JbDhNNTJRUUdzQjI4UTVCdlMK",
|
|
"endpoints": [
|
|
"https://github.com/JoshiCodes/knock/releases/latest/download/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
},
|
|
"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/[email protected]",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|