Integrates tauri-plugin-updater and tauri-plugin-process to enable ClawPal self-updates. The Home page now checks for app updates and shows a download progress bar with an "Update & Restart" button. CI workflow wired to sign release artifacts with TAURI_SIGNING_PRIVATE_KEY. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2.0.0",
|
|
"identifier": "xyz.clawpal",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build",
|
|
"devUrl": "http://localhost:1420",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "ClawPal",
|
|
"width": 1200,
|
|
"height": 820,
|
|
"minWidth": 1024,
|
|
"minHeight": 680
|
|
}
|
|
]
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDU2QjE4N0M1Mjc0NEEwOUIKUldTYm9FUW54WWV4VnZMQ2JTL1NvZjdKZW55RVhhUENuZ3NxMDFwUVFkSng0UXo3N1lLKzlYYWsK",
|
|
"endpoints": [
|
|
"https://github.com/zhixianio/clawpal/releases/latest/download/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"createUpdaterArtifacts": true,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"targets": "all",
|
|
"macOS": {
|
|
"minimumSystemVersion": "10.15",
|
|
"signingIdentity": "Developer ID Application: UNIPASS TECH PTE. LTD. (X53M8444K4)"
|
|
},
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"timestampUrl": ""
|
|
}
|
|
}
|
|
}
|