diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index f69dc1a..206ebea 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -34,6 +34,8 @@ jobs: - uses: spacebarchat/tauri-action@dev env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} + TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} with: tagName: client-__BRANCH__-v__VERSION__ releaseName: "Spacebar Client v__VERSION__ (__BRANCH__)" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b639f49..9c61be2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -33,7 +33,7 @@ } }, "updater": { - "active": false, + "active": true, "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDQxRkQwNTY1NzBEOTMyMTUKUldRVk10bHdaUVg5UWVoVm9JeDg4UEs1TkpMT3FKdzc3Y29CN2NZNk9vRE9sanJCUERqT09HVVYK", "windows": { "installMode": "passive" @@ -50,7 +50,7 @@ "open": true }, "updater": { - "endpoints": ["https://update.spacebar.chat/updates/{{target}}/{{arch}}"] + "endpoints": ["https://api.old.server.spacebar.chat/api/updates?platform={{target}}&arch={{arch}}"] } } }