From ad64980c42ad0f571ef656a2ad32ffbbb9de798c Mon Sep 17 00:00:00 2001 From: Abhijay Jain Date: Fri, 19 Jun 2026 18:53:30 +0530 Subject: [PATCH] fix (desktop): updater to target aaif-goose releases (#9868) Signed-off-by: Abhijay Jain --- ui/desktop/src/utils/autoUpdater.ts | 2 +- ui/desktop/src/utils/githubUpdater.ts | 2 +- ui/desktop/vite.main.config.mts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/desktop/src/utils/autoUpdater.ts b/ui/desktop/src/utils/autoUpdater.ts index 8fae1d75b3..91a3cc281d 100644 --- a/ui/desktop/src/utils/autoUpdater.ts +++ b/ui/desktop/src/utils/autoUpdater.ts @@ -352,7 +352,7 @@ export function setupAutoUpdater(tray?: Tray) { // Set the feed URL for GitHub releases const feedConfig = { provider: 'github' as const, - owner: 'block', + owner: 'aaif-goose', repo: 'goose', releaseType: 'release' as const, }; diff --git a/ui/desktop/src/utils/githubUpdater.ts b/ui/desktop/src/utils/githubUpdater.ts index a5d2ce3f92..7c7c3753b5 100644 --- a/ui/desktop/src/utils/githubUpdater.ts +++ b/ui/desktop/src/utils/githubUpdater.ts @@ -27,7 +27,7 @@ interface UpdateCheckResult { } export class GitHubUpdater { - private readonly owner = process.env.GITHUB_OWNER || 'block'; + private readonly owner = process.env.GITHUB_OWNER || 'aaif-goose'; private readonly repo = process.env.GITHUB_REPO || 'goose'; private readonly bundleName = process.env.GOOSE_BUNDLE_NAME || 'Goose'; private readonly apiUrl = `https://api.github.com/repos/${this.owner}/${this.repo}/releases/latest`; diff --git a/ui/desktop/vite.main.config.mts b/ui/desktop/vite.main.config.mts index 7087ae8352..2d3f89e861 100644 --- a/ui/desktop/vite.main.config.mts +++ b/ui/desktop/vite.main.config.mts @@ -3,7 +3,7 @@ import { defineConfig } from 'vite'; // https://vitejs.dev/config export default defineConfig({ define: { - 'process.env.GITHUB_OWNER': JSON.stringify(process.env.GITHUB_OWNER || 'block'), + 'process.env.GITHUB_OWNER': JSON.stringify(process.env.GITHUB_OWNER || 'aaif-goose'), 'process.env.GITHUB_REPO': JSON.stringify(process.env.GITHUB_REPO || 'goose'), 'process.env.GOOSE_BUNDLE_NAME': JSON.stringify(process.env.GOOSE_BUNDLE_NAME || 'Goose'), },