Skip to content

Commit

Permalink
feat: updater (#54)
Browse files Browse the repository at this point in the history
* feat: updater

* fix: endpoint
  • Loading branch information
tiero authored Jun 1, 2023
1 parent ceeb85f commit c65ef2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
dasel put string -f src-tauri/Cargo.toml ".package.version" "${{ steps.next_version.outputs.version }}"
- name: Build the app
uses: tauri-apps/tauri-action@v0
uses: tauri-apps/tauri-action@dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
Expand Down
8 changes: 7 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
},
"updater": {
"active": false
"active": true,
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEVCM0ZBNkIwNDFFQjNBQUIKUldTck91dEJzS1kvNjRaTzhtZUtaMU5CdXVka0w2VFFNeWZDMStUL0k4a0N2OWR6alZlR1hjR3YK",
"endpoints": [
"https://github.com/premai-io/prem-app/releases/latest/download/latest.json"
]

},
"windows": [
{
Expand Down

0 comments on commit c65ef2c

Please sign in to comment.