Skip to content

Commit

Permalink
Add autoUpdater
Browse files Browse the repository at this point in the history
  • Loading branch information
ClumsyLee committed Oct 9, 2015
1 parent 56301e0 commit 1203bfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ var app = require('app');
var Menu = require('menu');
var Tray = require('tray');
var BrowserWindow = require('browser-window');
var autoUpdater = require('auto-updater');
autoUpdater.setFeedUrl('https://net-tsinghua.herokuapp.com/update/osx/' + app.getVersion());

var fs = require('fs');
var config = JSON.parse(fs.readFileSync(__dirname + "/config.json", "utf-8"));
Expand Down

0 comments on commit 1203bfe

Please sign in to comment.