Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Jan 19, 2025
1 parent d6c9b66 commit b56d11b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,3 @@ jobs:
releaseDraft: true
prerelease: false
includeUpdaterJson: true

- name: Upload updater json
uses: actions/[email protected]
with:
script: |
const { resolve } = require('node:path')
const { readFileSync } = require('node:fs')
const latestPath = resolve(process.cwd(), 'latest.json')
const contents = readFileSync(latestPath, 'utf-8')
const response = await fetch(`https://synergism.cc/steam/manifest?key=${{ secrets.TAURI_PRIVATE_KEY }}`, {
method: 'POST',
body: contents
})
console.log(await response.text())
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"updater": {
"active": true,
"endpoints": [
"https://synergism.cc/steam/manifest"
"https://github.com/Pseudo-Corp/steam/releases/download/main/latest.json"
],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDgyRTNGOENGNTY1NzBEOUYKUldTZkRWZFd6L2pqZ2llNkxlRVRwU1htVm40K3VjR1NQUUVCLzM5bHFaWGc5dGJHZDlaK3NXWUgK",
Expand Down

0 comments on commit b56d11b

Please sign in to comment.