mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 20:31:34 +00:00
* fix(linux): restore the macOS build of the Tauri companion Tauri gates `WebviewWindowBuilder::transparent` behind its `macos-private-api` feature on macOS, so the companion stopped compiling for macOS when Quick Chat landed in #109947: `no method named 'transparent' found for struct 'WebviewWindowBuilder'`. Enable that feature together with the matching `app.macOSPrivateApi` config flag, which Tauri requires to agree with it or tauri-build fails the allowlist check. Quick Chat is built for a transparent window - quickchat.css makes html and body transparent behind a 16px-radius translucent card with a drop shadow - so compiling macOS by dropping `.transparent(true)` would ship an opaque rectangle instead of the floating composer. Also add a per-PR macOS `cargo check`. The only job that compiled the macOS target sits behind a manual dispatch input in linux-app-release.yml, which is why a broken macOS build survived for nine days. * ci(linux): build the macOS companion on macos-15 tauri-plugin-notifications' Swift sources use typed throws (`throws(FFIResult)`), which requires Swift 6. The macos-14 runner image still ships Swift 5.x and cannot parse them, so the plugin's build script panics with "Swift build failed for target: arm64-apple-macosx13.0". This hit the new per-PR check immediately, and it means the release workflow's `build_macos` job could not have produced a macOS bundle either - it compiles the same crate on the same image, but only runs behind a manual dispatch input so nothing surfaced it. Move both to macos-15.
104 lines
3.0 KiB
JSON
104 lines
3.0 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": {
|
|
"macOSPrivateApi": true,
|
|
"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: http: https:; 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"]
|
|
},
|
|
{
|
|
"identifier": "quickchat",
|
|
"description": "Quick Chat can select agents, configure its shortcut, send messages, render hosted widgets, and receive window events.",
|
|
"local": true,
|
|
"webviews": ["quickchat"],
|
|
"permissions": [
|
|
"allow-quickchat",
|
|
"core:event:allow-listen",
|
|
"core:event:allow-unlisten"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "13.0"
|
|
}
|
|
}
|
|
}
|