diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f4e1e6..0929610 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} with: tagName: ${{ github.ref_name }}-${{ steps.hash.outputs.version }} releaseName: 'v0.0.1-${{ steps.hash.outputs.version }}' diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index cc97545..d27a1d0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -55,7 +55,17 @@ "csp": null }, "updater": { - "active": false + "updater": { + "active": true, + "endpoints": [ + "https://synergism.cc/steam/download/{{target}}/{{arch}}/{{current_version}}" + ], + "dialog": true, + "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDIzODExRDgzMzRGRDg4MjEKUldRaGlQMDBneDJCSTFxMytIYlF5bTFESHE1eU5JY3Y3Zk5tUWZ2SU1JRTgvSzlWelREWlV4bm0K", + "windows": { + "installMode": "passive" + } + } }, "windows": [ {