Skip to content

Commit

Permalink
Add todesktop custom updater url. (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang authored Feb 11, 2025
1 parent 1b7a8ed commit 998d77c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/main-process/comfyDesktopApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export class ComfyDesktopApp implements HasTelemetry {
updateReadyAction: { showInstallAndRestartPrompt: 'always', showNotification: 'always' },
autoUpdater: useComfySettings().get('Comfy-Desktop.AutoUpdate'),
});
todesktop.autoUpdater?.setFeedURL('https://updater.comfy.org');
}

registerIPCHandlers(): void {
Expand Down
1 change: 0 additions & 1 deletion tests/unit/main-process/comfyDesktopApp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ describe('ComfyDesktopApp', () => {
updateReadyAction: { showInstallAndRestartPrompt: 'always', showNotification: 'always' },
autoUpdater: true,
});
expect(todesktop.autoUpdater?.setFeedURL).toHaveBeenCalledWith('https://updater.comfy.org');
});
});

Expand Down
3 changes: 2 additions & 1 deletion todesktop.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
},
"windows": {
"nsisInclude": "./scripts/installer.nsh"
}
},
"updateUrlBase": "https://updater.comfy.org"
}

0 comments on commit 998d77c

Please sign in to comment.