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

Configure updater #21

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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