From f54e3654a0ab81c7e94a46e0b024467c099e8f7c Mon Sep 17 00:00:00 2001 From: "dan@saucelabs.com" Date: Wed, 28 Feb 2018 14:08:19 -0800 Subject: [PATCH] Fix --- app/main/auto-updater.js | 8 ++++++-- package.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/main/auto-updater.js b/app/main/auto-updater.js index 28075b000..8eb15c02c 100644 --- a/app/main/auto-updater.js +++ b/app/main/auto-updater.js @@ -1,6 +1,5 @@ -import { autoUpdater } from 'electron-updater'; import log from 'electron-log'; -import { ipcMain, BrowserWindow, Menu } from 'electron'; +import { ipcMain, BrowserWindow, Menu, autoUpdater, app } from 'electron'; import path from 'path'; import _ from 'lodash'; import request from 'request-promise'; @@ -9,6 +8,11 @@ import settings from '../settings'; import B from 'bluebird'; const isDev = process.env.NODE_ENV === 'development'; +// Get server and feed url +const server = `https://hazel-server-cfuovrxdtd.now.sh/`; +const feed = `${server}/update/${process.platform}/${app.getVersion()}`; +autoUpdater.setFeedURL(feed); + // Logs data to autoUpdater.logger = log; autoUpdater.logger.transports.file.level = 'info'; diff --git a/package.json b/package.json index 1a42a4952..045dcff50 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ }, "publish": { "provider": "github", - "owner": "appium", + "owner": "dpgraham", "vPrefixedTagName": true } },