diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3227e0..daf8fa7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,20 +60,3 @@ jobs: releaseDraft: true prerelease: false includeUpdaterJson: true - - - name: Upload updater json - uses: actions/github-script@v7.0.1 - 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()) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 245a481..b272d3c 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -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",