Skip to content

Commit

Permalink
add updater?
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Jul 24, 2024
1 parent f520438 commit f45f208
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
12 changes: 11 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit f45f208

Please sign in to comment.