1
0
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:
bbedward
2026-06-23 22:49:34 -04:00
parent 21ddc3cc3f
commit 14f21b6c6d
6 changed files with 10 additions and 10 deletions
@@ -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;