mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 23:01:19 +00:00
* crc changed their file structure, need to modify accordingly * escape char `\" is not needed anymore * related: https://github.com/ScoopInstaller/Extras/issues/9026 * related: https://github.com/ScoopInstaller/Scoop/pull/5065
36 lines
1.6 KiB
JSON
36 lines
1.6 KiB
JSON
{
|
|
"version": "2.6.0",
|
|
"description": "Manages a local OpenShift 4.x cluster optimized for testing and development purposes.",
|
|
"homepage": "https://code-ready.github.io/crc/",
|
|
"license": "Apache-2.0",
|
|
"notes": "To acquire a pull secret, visit: https://cloud.redhat.com/openshift/install/crc/installer-provisioned",
|
|
"depends": "lessmsi",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/2.6.0/crc-windows-installer.zip",
|
|
"hash": "da2153166ea6996eb3850aa196837df4e68bb1f841d37ca5ad5773400c1152bf",
|
|
"pre_install": [
|
|
"# The trailing backslash(\\) in $dir\\ is required by lessmsi.",
|
|
"Invoke-ExternalCommand lessmsi -ArgumentList @('x', \"$dir\\crc-windows-amd64.msi\", \"$dir\\\") | Out-Null",
|
|
"Copy-Item \"$dir\\SourceDir\\Red Hat OpenShift Local\\*\" \"$dir\" -Force -Recurse | Out-Null",
|
|
"Remove-Item \"$dir\\SourceDir\" -Force -Recurse | Out-Null"
|
|
]
|
|
}
|
|
},
|
|
"bin": "crc.exe",
|
|
"checkver": {
|
|
"url": "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/release-info.json",
|
|
"jsonpath": "$.version.crcVersion"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/$matchHead/crc-windows-installer.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|