Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham committed Feb 28, 2018
1 parent 24de2cf commit f54e365
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions app/main/auto-updater.js
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
},
"publish": {
"provider": "github",
"owner": "appium",
"owner": "dpgraham",
"vPrefixedTagName": true
}
},
Expand Down

0 comments on commit f54e365

Please sign in to comment.