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.
This commit is contained in:
parent
6612ffa6d1
commit
798e9ce1a3
|
@ -6,8 +6,8 @@ const electron_1 = require("electron");
|
||||||
const exec_1 = require("exec");
|
const exec_1 = require("exec");
|
||||||
/**
|
/**
|
||||||
* Evaluates system dependencies for digital
|
* Evaluates system dependencies for digital
|
||||||
* projector features by executing processes with
|
* projector features by executing `which` on binary.
|
||||||
* --help flag. If they do not exist, log to console
|
* If they do not exist, log to console
|
||||||
*
|
*
|
||||||
* @param {string} platform Operating system type
|
* @param {string} platform Operating system type
|
||||||
*
|
*
|
||||||
|
|
|
@ -6,8 +6,8 @@ const electron_1 = require("electron");
|
||||||
const exec_1 = require("exec");
|
const exec_1 = require("exec");
|
||||||
/**
|
/**
|
||||||
* Evaluates system dependencies for digital
|
* Evaluates system dependencies for digital
|
||||||
* projector features by executing processes with
|
* projector features by executing `which` on binary.
|
||||||
* --help flag. If they do not exist, log to console
|
* If they do not exist, log to console
|
||||||
*
|
*
|
||||||
* @param {string} platform Operating system type
|
* @param {string} platform Operating system type
|
||||||
*
|
*
|
||||||
|
|
|
@ -6,8 +6,8 @@ const electron_1 = require("electron");
|
||||||
const exec_1 = require("exec");
|
const exec_1 = require("exec");
|
||||||
/**
|
/**
|
||||||
* Evaluates system dependencies for digital
|
* Evaluates system dependencies for digital
|
||||||
* projector features by executing processes with
|
* projector features by executing `which` on binary.
|
||||||
* --help flag. If they do not exist, log to console
|
* If they do not exist, log to console
|
||||||
*
|
*
|
||||||
* @param {string} platform Operating system type
|
* @param {string} platform Operating system type
|
||||||
*
|
*
|
||||||
|
|
|
@ -11,8 +11,8 @@ import { screen } from 'electron';
|
||||||
import { exec } from 'exec';
|
import { exec } from 'exec';
|
||||||
/**
|
/**
|
||||||
* Evaluates system dependencies for digital
|
* Evaluates system dependencies for digital
|
||||||
* projector features by executing processes with
|
* projector features by executing `which` on binary.
|
||||||
* --help flag. If they do not exist, log to console
|
* If they do not exist, log to console
|
||||||
*
|
*
|
||||||
* @param {string} platform Operating system type
|
* @param {string} platform Operating system type
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue