Force a feed URL
This commit is contained in:
parent
40abb5c0ac
commit
abe8a5eed0
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,12 @@ export const setupAutoUpdater = (mainWindow: BrowserWindow) => {
|
|||
autoUpdater.forceDevUpdateConfig = isDev;
|
||||
if (isDev) return;
|
||||
|
||||
autoUpdater.setFeedURL({
|
||||
provider: "github",
|
||||
owner: "mnvr",
|
||||
repo: "test-updates",
|
||||
});
|
||||
|
||||
const oneDay = 1 * 24 * 60 * 60 * 1000;
|
||||
setInterval(() => void checkForUpdatesAndNotify(mainWindow), oneDay);
|
||||
void checkForUpdatesAndNotify(mainWindow);
|
||||
|
|
Loading…
Add table
Reference in a new issue