mirror of
https://github.com/block/goose.git
synced 2026-07-10 00:20:17 +00:00
fix (desktop): updater to target aaif-goose releases (#9868)
Signed-off-by: Abhijay Jain <Abhijay007j@gmail.com>
This commit is contained in:
parent
9785d063c1
commit
ad64980c42
3 changed files with 3 additions and 3 deletions
|
|
@ -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'),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue