mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-24 12:05:21 -04:00
qs: replace all which commands with command -v
This commit is contained in:
@@ -8,7 +8,7 @@ QtObject {
|
||||
// done({ title, details }) -> block with an expandable details body
|
||||
// A synchronous variant (no argument, return the result) is also supported.
|
||||
function check(done) {
|
||||
Proc.runCommand("exampleStartupCheck.depCheck", ["which", "boregard"], (stdout, exitCode) => {
|
||||
Proc.runCommand("exampleStartupCheck.depCheck", ["sh", "-c", "command -v boregard"], (stdout, exitCode) => {
|
||||
if (exitCode === 0) {
|
||||
done(null);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user