[MM-19636] make file names consistent (#1186)
* added jq * add verbose message * add another option for getting the path of npm * use package.json to get desktop version * add componentdownload property as dinamic * fix innertext * add namespace to element * remove v from version
This commit is contained in:
@@ -64,6 +64,11 @@ function Check-Deps {
|
||||
if ($verbose) { Print-Error "signtool dependency missing." }
|
||||
$missing += "signtool"
|
||||
}
|
||||
if ($verbose) { Print-Info "Checking jq dependency..." }
|
||||
if (!(Check-Command "jq")) {
|
||||
if ($verbose) { Print-Error "jq dependency missing." }
|
||||
$missing += "jq"
|
||||
}
|
||||
|
||||
if ($throwable -and $missing.Count -gt 0) {
|
||||
throw "com.mattermost.makefile.deps.missing"
|
||||
@@ -128,6 +133,11 @@ function Install-Deps {
|
||||
choco install nodejs-lts --yes
|
||||
break;
|
||||
}
|
||||
"jq" {
|
||||
Print-Info "Installing jq"
|
||||
choco install jq --yes
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Print-Info "Refreshing PATH..."
|
||||
|
Reference in New Issue
Block a user