bump autoupdate version

This commit is contained in:
Todd Treece 2016-06-07 16:45:37 -04:00
parent 1dcfbe36c1
commit f485556bc8
2 changed files with 7 additions and 7 deletions

View file

@ -25,20 +25,20 @@ const logo = fs.readFileSync(path.join(__dirname,'logo.txt'), 'utf8');
console.log(logo);
console.log('checking for update...');
if(process.platform == 'linux' && process.arch == 'arm')
exec('./install-service');
const update = new AutoUpdate(pkg);
update.on('error', (err) => { console.error('update failed.'); launch(); });
update.on('update', () => console.log('updating...'));
update.on('finish', () => launch());
if(process.platform == 'linux' && process.arch == 'arm')
exec('./install-service');
const launch = function() {
const npr = new NPR(),
story = new Story(npr),
player = new Player();
const npr = new NPR(),
story = new Story(npr),
player = new Player();
console.log('connecting to npr one...');

View file

@ -22,7 +22,7 @@
"license": "MIT",
"dependencies": {
"chalk": "^1.1.3",
"cli-autoupdate": "^2.0.2",
"cli-autoupdate": "^2.0.3",
"dotenv": "^1.2.0",
"gauge": "^2.2.1",
"inquirer": "^0.9.0",