Skip to content

Commit facd982

Browse files
Update main.ts
1 parent c324141 commit facd982

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

main.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ if (process.platform === 'linux') {
3434
type = 'linux';
3535
}
3636

37-
autoUpdater.setFeedURL(`https://ftp.codext.de/remotecontrol-desktop/${type}/`);
37+
autoUpdater.setFeedURL({
38+
provider: 'github',
39+
owner: 'codext-remotecontrol',
40+
repo: 'remotecontrol-desktop',
41+
private: false,
42+
releaseType: 'release',
43+
});
3844
autoUpdater.autoDownload = true;
3945

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

0 commit comments

Comments
 (0)