Minor style fixes and tweaks
This commit is contained in:
parent
052eef5f81
commit
71e8d42b27
2 changed files with 2 additions and 3 deletions
|
@ -93,10 +93,10 @@ function launchDaemonIfNotRunning() {
|
|||
* tries to force kill them.
|
||||
*/
|
||||
function forceKillAllDaemons() {
|
||||
console.log("Attempting to force kill any running lbrynet-daemon instances...");
|
||||
console.log('Attempting to force kill any running lbrynet-daemon instances...');
|
||||
|
||||
const fgrepOut = child_process.spawnSync('pgrep', ['-x', 'lbrynet-daemon'], {encoding: 'utf8'}).stdout;
|
||||
const daemonPids = fgrepOut.split(/[^\d]+/).filter((pid) => pid);
|
||||
const daemonPids = fgrepOut.match(/\d+/g);
|
||||
if (!daemonPids) {
|
||||
console.log('No lbrynet-daemon found running.');
|
||||
} else {
|
||||
|
|
|
@ -44,7 +44,6 @@ var App = React.createClass({
|
|||
_version: null,
|
||||
|
||||
getUpdateUrl: function() {
|
||||
console.log('os.platform is', os.platform());
|
||||
switch (os.platform()) {
|
||||
case 'darwin':
|
||||
return 'https://lbry.io/get/lbry.dmg';
|
||||
|
|
Loading…
Reference in a new issue