diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2021-09-28 11:30:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 11:30:40 +0530 |
commit | 4d270eb6eb4b6dc659b7d0223ea4c5fc431279ce (patch) | |
tree | 87dc30bc4bace2b1de1d8aa4b3812f52d3119643 /src/electron/ipc-api/autoUpdate.ts | |
parent | 5.6.3-nightly.16 [skip ci] (diff) | |
download | ferdium-app-4d270eb6eb4b6dc659b7d0223ea4c5fc431279ce.tar.gz ferdium-app-4d270eb6eb4b6dc659b7d0223ea4c5fc431279ce.tar.zst ferdium-app-4d270eb6eb4b6dc659b7d0223ea4c5fc431279ce.zip |
chore: merge the nightly builds into the main 'ferdi' project (#1996)
Diffstat (limited to 'src/electron/ipc-api/autoUpdate.ts')
-rw-r--r-- | src/electron/ipc-api/autoUpdate.ts | 6 |
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 @@ | |||
1 | import { app, ipcMain, BrowserWindow } from 'electron'; | 1 | import { app, ipcMain, BrowserWindow } from 'electron'; |
2 | import { autoUpdater } from 'electron-updater'; | 2 | import { autoUpdater } from 'electron-updater'; |
3 | import { GITHUB_NIGHTLIES_REPO_NAME, GITHUB_ORG_NAME } from '../../config'; | ||
4 | import { isMac, isWindows } from '../../environment'; | 3 | import { isMac, isWindows } from '../../environment'; |
5 | 4 | ||
6 | const debug = require('debug')('Ferdi:ipcApi:autoUpdate'); | 5 | const 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') { |