better update handling

This commit is contained in:
jobevers 2017-02-16 21:26:57 -06:00
parent 592a48e412
commit f6a28df636
4 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,5 @@
const {app, BrowserWindow} = require('electron');
var path = require('path');
var jayson = require('jayson');
@ -43,7 +44,7 @@ function lauchDaemon() {
}
console.log(`${__dirname}`);
executable = path.join(__dirname, 'dist', 'lbrynet-daemon');
subpy = require('child_process').spawn(executable, ['--verbose'])//, {stdio: ['ignore', process.stdout, process.stderr]});
subpy = require('child_process').spawn(executable)//, {stdio: ['ignore', process.stdout, process.stderr]});
// Need to handle the data event instead of attaching to
// process.stdout because the latter doesn't work. I believe on
// windows it buffers stdout and we don't get any meaningful output

View file

@ -8,6 +8,7 @@
"name": "Job Evers-Meltzer"
},
"dependencies": {
"electron-dl": "^1.6.0",
"install": "^0.8.7",
"jayson": "^2.0.2",
"npm": "^4.2.0",

2
lbry

@ -1 +1 @@
Subproject commit 723105157f41b65ed99d9c62edd538321b6a5d71
Subproject commit 6d4c606abde5fc468b6523bcf71ba8b1848a58ae

@ -1 +1 @@
Subproject commit 4068fb5fd8bfec035daff83b518e3a5d99344dda
Subproject commit 5b454a383798f19aa11b661d770e183dc6b76336