Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
danielehrhardt committed Jul 16, 2023
1 parent c324141 commit facd982
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ if (process.platform === 'linux') {
type = 'linux';
}

autoUpdater.setFeedURL(`https://ftp.codext.de/remotecontrol-desktop/${type}/`);
autoUpdater.setFeedURL({
provider: 'github',
owner: 'codext-remotecontrol',
repo: 'remotecontrol-desktop',
private: false,
releaseType: 'release',
});
autoUpdater.autoDownload = true;

autoUpdater.on('download-progress', (progressObj) => {
Expand Down

0 comments on commit facd982

Please sign in to comment.