Files
openclaw/apps/linux/src-tauri/tauri.conf.json
Peter Steinberger 2f3bda1be6 feat(linux): OS integration for the desktop companion (#109236)
Single-instance + openclaw:// deep links (openclaw://dashboard opens and
connects the dashboard; the tiny URL contract is routed entirely in Rust), a
Start at Login tray toggle (tauri-plugin-autostart, default off), native
notifications for update-ready/update-available when the window is unfocused,
and window-state persistence (canvas window excluded). All official Tauri v2
plugins; cross-platform deps so the macOS/Windows test builds keep compiling.
2026-07-16 11:19:10 -07:00

89 lines
2.5 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenClaw",
"version": "0.1.0",
"identifier": "ai.openclaw.linux",
"build": {
"frontendDist": "../ui"
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["openclaw"]
}
},
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDRDODJFMzU1QTQ0MUMwNkYKUldSdndFR2tWZU9DVE9RYnlIcHFoNG1xUlQzUlloa0plQmZjY0dPbHpjWlEzWFozdmt0cHBlY2gK",
"endpoints": [
"https://github.com/openclaw/openclaw/releases/latest/download/latest.json"
]
}
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "main",
"title": "OpenClaw",
"url": "index.html",
"width": 1080,
"height": 720,
"minWidth": 720,
"minHeight": 520,
"center": true,
"visible": true
}
],
"security": {
"csp": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; connect-src ipc: http://ipc.localhost",
"capabilities": [
{
"identifier": "local-companion",
"description": "Local setup screens can invoke app commands and receive installer progress.",
"local": true,
"windows": ["main"],
"permissions": [
"allow-bootstrap",
"allow-build-info",
"allow-check-for-updates",
"allow-connect-discovered-gateway",
"allow-discover-gateways",
"allow-gateway-action",
"allow-install-cli",
"allow-open-release-page",
"allow-relaunch",
"allow-updater-ready",
"core:event:allow-listen",
"core:event:allow-unlisten",
"process:allow-restart",
"updater:default"
]
},
{
"identifier": "canvas-renderer",
"description": "The bundled Canvas renderer can relay A2UI actions.",
"local": true,
"windows": ["canvas"],
"permissions": ["allow-canvas-a2ui-action"]
}
]
}
},
"bundle": {
"active": true,
"createUpdaterArtifacts": true,
"category": "Utility",
"shortDescription": "OpenClaw Linux companion",
"longDescription": "Installs OpenClaw, manages the local Gateway service, and hosts the Control UI.",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.png"
],
"resources": {
"../../../scripts/install-cli.sh": "install-cli.sh"
}
}
}