aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron/ipc-api/autoUpdate.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/electron/ipc-api/autoUpdate.ts')
-rw-r--r--src/electron/ipc-api/autoUpdate.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/electron/ipc-api/autoUpdate.ts b/src/electron/ipc-api/autoUpdate.ts
index 31c614ab7..e6b805edc 100644
--- a/src/electron/ipc-api/autoUpdate.ts
+++ b/src/electron/ipc-api/autoUpdate.ts
@@ -1,6 +1,5 @@
1import { app, ipcMain, BrowserWindow } from 'electron'; 1import { app, ipcMain, BrowserWindow } from 'electron';
2import { autoUpdater } from 'electron-updater'; 2import { autoUpdater } from 'electron-updater';
3import { GITHUB_NIGHTLIES_REPO_NAME, GITHUB_ORG_NAME } from '../../config';
4import { isMac, isWindows } from '../../environment'; 3import { isMac, isWindows } from '../../environment';
5 4
6const debug = require('debug')('Ferdi:ipcApi:autoUpdate'); 5const debug = require('debug')('Ferdi:ipcApi:autoUpdate');
@@ -26,11 +25,6 @@ export default (params: { mainWindow: BrowserWindow; settings: any }) => {
26 params.settings.app.get('nightly'), 25 params.settings.app.get('nightly'),
27 ); 26 );
28 autoUpdater.channel = 'alpha'; 27 autoUpdater.channel = 'alpha';
29 autoUpdater.setFeedURL({
30 provider: 'github',
31 owner: GITHUB_ORG_NAME,
32 repo: GITHUB_NIGHTLIES_REPO_NAME,
33 });
34 } 28 }
35 29
36 if (args.action === 'check') { 30 if (args.action === 'check') {