diff --git a/bin/formatjson.ps1 b/bin/formatjson.ps1 index ae0098c227..735f247ca5 100644 --- a/bin/formatjson.ps1 +++ b/bin/formatjson.ps1 @@ -1,4 +1,4 @@ if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) } $formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1" $path = "$psscriptroot/../bucket" # checks the parent dir -Invoke-Expression -command "$formatjson -path $path $($args | ForEach-Object { "$_ " })" +Invoke-Expression -command "$formatjson -dir $path $($args | ForEach-Object { "$_ " })" diff --git a/bucket/apimtemplate.json b/bucket/apimtemplate.json index ea3bce8b8f..58e5d2ca82 100644 --- a/bucket/apimtemplate.json +++ b/bucket/apimtemplate.json @@ -6,9 +6,7 @@ "url": "https://github.com/Azure/azure-api-management-devops-resource-kit/releases/download/v0.1-alpha/azure-api-management-devops-example-win-x64-v0.1-alpha.zip", "hash": "8b980e59eec011c5eed042e8dc576b76e22b871f8dccefec6e4181dfcc281889", "depends": "azure-cli", - "bin": [ - "apimtemplate.exe" - ], + "bin": "apimtemplate.exe", "checkver": { "url": "https://github.com/Azure/azure-api-management-devops-resource-kit/releases", "regex": "tag/(?:v)?([\\w.-]+)" diff --git a/bucket/httping.json b/bucket/httping.json index 9f308e3245..8487d81bc0 100644 --- a/bucket/httping.json +++ b/bucket/httping.json @@ -13,7 +13,7 @@ "bin": "httping.exe", "checkver": { "url": "https://github.com/flok99/httping/releases", - "regex": "tag\/([\\d.]+)" + "regex": "tag/([\\d.]+)" }, "autoupdate": { "architecture": { diff --git a/bucket/jar2app.json b/bucket/jar2app.json index b0287a42d1..9183495756 100644 --- a/bucket/jar2app.json +++ b/bucket/jar2app.json @@ -1,13 +1,11 @@ { - "homepage": "https://github.com/Jorl17/jar2app", - "description": "Convert any Java jar to a Mac OS X .App bundle.", - "version": "nightly", - "license": "GPL-2.0-only", - "url": "https://github.com/Jorl17/jar2app/archive/master.zip", - "extract_dir": "jar2app-master", - "depends": [ - "python" - ], - "pre_install": "echo \"python `\"$dir\\jar2app.py`\" @args\" | out-file \"$dir\\jar2app.ps1\"", - "bin": "jar2app.ps1" + "homepage": "https://github.com/Jorl17/jar2app", + "description": "Convert any Java jar to a Mac OS X .App bundle.", + "version": "nightly", + "license": "GPL-2.0-only", + "url": "https://github.com/Jorl17/jar2app/archive/master.zip", + "extract_dir": "jar2app-master", + "depends": "python", + "pre_install": "echo \"python `\"$dir\\jar2app.py`\" @args\" | out-file \"$dir\\jar2app.ps1\"", + "bin": "jar2app.ps1" }