From 5ef4f2d6427eecddfc309980a0c245f22df04187 Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 28 Feb 2026 19:39:28 +0100 Subject: [PATCH] fix: serve latest.json via GitHub Pages for auto-updater endpoint --- .github/workflows/release.yml | 2 ++ src-tauri/tauri.conf.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 82cb92d8..ba36019d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -202,6 +202,8 @@ jobs: run: | mkdir -p _site gh api repos/${{ github.repository }}/releases --paginate > _site/releases.json + # Copy latest.json to GitHub Pages for auto-updater endpoint + gh release download --repo ${{ github.repository }} --pattern "latest.json" --output _site/latest.json || true cat > _site/index.html << 'HTMLEOF' diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 850ecdcd..8288a3b3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -48,7 +48,7 @@ "plugins": { "updater": { "endpoints": [ - "https://github.com/refactoringhq/laputa-app/releases/latest/download/latest.json" + "https://refactoringhq.github.io/laputa-app/latest.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDRFQzlGQ0RFM0E1MTIzNDkKUldSSkkxRTYzdnpKVG13M0Zwd3M1RzErbWhJeEhBQUQyaG90bHBtMkNzMm1MNERZRlpXSGFRMTUK" }