From 798e9ce1a3cdf37889633a6e693ab64d6cf42429 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Fri, 26 Jul 2019 18:31:22 -0400 Subject: [PATCH] Fixed comments in system module to reflect the fact that dependency check happens by executing 'which {cmd}' and storing the response as the absolute path to the binary. If which returns a blank string, dependency is marked not present. --- app/lib/system/index.js | 4 ++-- cli/lib/system/index.js | 4 ++-- lib/system/index.js | 4 ++-- src/system/index.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/lib/system/index.js b/app/lib/system/index.js index 27ceedd..568d0f7 100644 --- a/app/lib/system/index.js +++ b/app/lib/system/index.js @@ -6,8 +6,8 @@ const electron_1 = require("electron"); const exec_1 = require("exec"); /** * Evaluates system dependencies for digital - * projector features by executing processes with - * --help flag. If they do not exist, log to console + * projector features by executing `which` on binary. + * If they do not exist, log to console * * @param {string} platform Operating system type * diff --git a/cli/lib/system/index.js b/cli/lib/system/index.js index 27ceedd..568d0f7 100644 --- a/cli/lib/system/index.js +++ b/cli/lib/system/index.js @@ -6,8 +6,8 @@ const electron_1 = require("electron"); const exec_1 = require("exec"); /** * Evaluates system dependencies for digital - * projector features by executing processes with - * --help flag. If they do not exist, log to console + * projector features by executing `which` on binary. + * If they do not exist, log to console * * @param {string} platform Operating system type * diff --git a/lib/system/index.js b/lib/system/index.js index 27ceedd..568d0f7 100644 --- a/lib/system/index.js +++ b/lib/system/index.js @@ -6,8 +6,8 @@ const electron_1 = require("electron"); const exec_1 = require("exec"); /** * Evaluates system dependencies for digital - * projector features by executing processes with - * --help flag. If they do not exist, log to console + * projector features by executing `which` on binary. + * If they do not exist, log to console * * @param {string} platform Operating system type * diff --git a/src/system/index.ts b/src/system/index.ts index 8a3de01..9524e70 100644 --- a/src/system/index.ts +++ b/src/system/index.ts @@ -11,8 +11,8 @@ import { screen } from 'electron'; import { exec } from 'exec'; /** * Evaluates system dependencies for digital - * projector features by executing processes with - * --help flag. If they do not exist, log to console + * projector features by executing `which` on binary. + * If they do not exist, log to console * * @param {string} platform Operating system type *