mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 05:58:41 -09:00
add auto-update production settings
This commit is contained in:
parent
a5b805cf66
commit
e7c6978200
1 changed files with 2 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
const { autoUpdater, dialog } = require('electron');
|
const { autoUpdater, dialog } = require('electron');
|
||||||
// const { version } = require('./package');
|
const { version } = require('./package');
|
||||||
const version = '0.3.0'; // to force update available
|
|
||||||
|
|
||||||
const FEED_URL = 'https://nuts-serve-nxchetcjig.now.sh/update/osx';
|
const FEED_URL = 'https://hyperterm-updates.now.sh/update/osx';
|
||||||
|
|
||||||
module.exports = function AutoUpdater (rpc) {
|
module.exports = function AutoUpdater (rpc) {
|
||||||
autoUpdater.on('error', (err, msg) => {
|
autoUpdater.on('error', (err, msg) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue