mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix (desktop): updater to target aaif-goose releases (#9868)
Signed-off-by: Abhijay Jain <Abhijay007j@gmail.com>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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`;
|
||||
|
||||
@@ -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'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user