From 4d270eb6eb4b6dc659b7d0223ea4c5fc431279ce Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Tue, 28 Sep 2021 11:30:40 +0530 Subject: chore: merge the nightly builds into the main 'ferdi' project (#1996) --- src/config.ts | 4 ---- src/electron/ipc-api/autoUpdate.ts | 6 ------ 2 files changed, 10 deletions(-) (limited to 'src') diff --git a/src/config.ts b/src/config.ts index 6ad58c7a5..667b0a962 100644 --- a/src/config.ts +++ b/src/config.ts @@ -158,10 +158,6 @@ export const FRANZ_SERVICE_REQUEST = `${GITHUB_FERDI_URL}/recipes/issues`; export const FRANZ_TRANSLATION = 'https://crowdin.com/project/getferdi'; export const FRANZ_DEV_DOCS = 'http://bit.ly/franz-dev-hub'; -export const GITHUB_ORG_NAME = 'getferdi'; -export const GITHUB_FERDI_REPO_NAME = 'ferdi'; -export const GITHUB_NIGHTLIES_REPO_NAME = 'nightlies'; - export const FILE_SYSTEM_SETTINGS_TYPES = ['app', 'proxy']; export const LOCAL_SERVER = 'You are using Ferdi without a server'; 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 @@ import { app, ipcMain, BrowserWindow } from 'electron'; import { autoUpdater } from 'electron-updater'; -import { GITHUB_NIGHTLIES_REPO_NAME, GITHUB_ORG_NAME } from '../../config'; import { isMac, isWindows } from '../../environment'; const debug = require('debug')('Ferdi:ipcApi:autoUpdate'); @@ -26,11 +25,6 @@ export default (params: { mainWindow: BrowserWindow; settings: any }) => { params.settings.app.get('nightly'), ); autoUpdater.channel = 'alpha'; - autoUpdater.setFeedURL({ - provider: 'github', - owner: GITHUB_ORG_NAME, - repo: GITHUB_NIGHTLIES_REPO_NAME, - }); } if (args.action === 'check') { -- cgit v1.2.3-70-g09d2