fix: try to fix linux CI updater problem

This commit is contained in:
wonfen 2025-02-11 00:48:16 +08:00
parent c4d6c167a2
commit 26ca4670ad
2 changed files with 19 additions and 8 deletions

View File

@ -70,6 +70,15 @@ jobs:
pnpm i
pnpm check ${{ matrix.target }}
- name: Prepare Updater Files
run: |
mkdir -p updater
echo '{
"version": "'$(cat package.json | jq -r .version)'",
"notes": "More new features are now supported.",
"pub_date": "'$(date -u +"%Y-%m-%dT%H:%M:%SZ")'"
}' > updater/update.json
- name: Tauri build
uses: tauri-apps/tauri-action@v0
env:

View File

@ -16,7 +16,16 @@
"copyright": "GNU General Public License v3.0",
"category": "DeveloperTool",
"shortDescription": "Clash Verge Rev",
"createUpdaterArtifacts": "v1Compatible"
"createUpdaterArtifacts": "v1Compatible",
"updater": {
"active": true,
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK",
"endpoints": [
"https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
"https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json"
]
}
},
"build": {
"beforeBuildCommand": "pnpm run web:build",
@ -28,13 +37,6 @@
"version": "2.0.4-alpha",
"identifier": "io.github.clash-verge-rev.clash-verge-rev",
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK",
"endpoints": [
"https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
"https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json"
]
},
"deep-link": {
"desktop": {
"schemes": ["clash", "clash-verge"]