Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from uhKayla/updater
Browse files Browse the repository at this point in the history
Configure updater
  • Loading branch information
uhKayla authored Jul 3, 2024
2 parents a80e781 + af83745 commit 98f4d4b
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: "App v__VERSION__"
tagName: v__VERSION__-alpha # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: "v__VERSION__-alpha"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: true
Expand Down
100 changes: 100 additions & 0 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tauri-build = { version = "1.5.1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.6.1", features = [ "shell-open", "path-all", "fs-all", "http-all"] }
tauri = { version = "1.6.1", features = [ "updater", "shell-open", "path-all", "fs-all", "http-all"] }
reqwest = { version = "0.12", features = ["json", "cookies"] }
url = "2.5.1"
dirs = "5.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"updater": {
"active": true,
"endpoints": [
"https://github.com/uhKayla/Spectre/master/latest.json"
"https://github.com/uhKayla/Spectre/releases/download/v0.1.10-alpha/latest.json"
],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQzQUY4OTIzMDVDOTgzMjQKUldRa2c4a0ZJNG12MDBvNHdIa0VRMXhKcVhqbTgyWXVTTVBoUmFGcEowMFd5cjVpbEoxc1hha3AK"
Expand Down

0 comments on commit 98f4d4b

Please sign in to comment.