aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron/ipc-api/autoUpdate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/electron/ipc-api/autoUpdate.js')
-rw-r--r--src/electron/ipc-api/autoUpdate.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js
index 58eda801c..603049c4e 100644
--- a/src/electron/ipc-api/autoUpdate.js
+++ b/src/electron/ipc-api/autoUpdate.js
@@ -1,5 +1,6 @@
1import { app, ipcMain } from 'electron'; 1import { app, ipcMain } from 'electron';
2import { autoUpdater } from 'electron-updater'; 2import { autoUpdater } from 'electron-updater';
3import { GITHUB_NIGHTLIES_REPO_NAME, GITHUB_ORG_NAME } from '../../config';
3import { isMac, isWindows } from '../../environment'; 4import { isMac, isWindows } from '../../environment';
4 5
5const debug = require('debug')('Ferdi:ipcApi:autoUpdate'); 6const debug = require('debug')('Ferdi:ipcApi:autoUpdate');
@@ -21,8 +22,8 @@ export default (params) => {
21 autoUpdater.allowPrerelease = Boolean(params.settings.app.get('nightly')); 22 autoUpdater.allowPrerelease = Boolean(params.settings.app.get('nightly'));
22 autoUpdater.setFeedURL({ 23 autoUpdater.setFeedURL({
23 provider: 'github', 24 provider: 'github',
24 repo: 'nightlies', 25 owner: GITHUB_ORG_NAME,
25 owner: 'getferdi', 26 repo: GITHUB_NIGHTLIES_REPO_NAME,
26 }); 27 });
27 } 28 }
28 29