ScoopInstaller_Main/bucket/highlight.json
2026-02-25 00:55:53 +00:00

48 lines
1.6 KiB
JSON

{
"version": "4.19",
"description": "Converts source code to formatted text with syntax highlighting.",
"homepage": "http://www.andre-simon.de/doku/highlight/en/highlight.php",
"license": "GPL-3.0-only",
"notes": "You need to set the working directory of the shortcut to '$dir'",
"architecture": {
"64bit": {
"url": "http://www.andre-simon.de/zip/highlight-4.19-x64.zip",
"hash": "3006877695fb30feee34abc38c14b54e349826655a2eb1213e98a450caa97d1e"
},
"32bit": {
"url": "http://www.andre-simon.de/zip/highlight-4.19.zip",
"hash": "cfb56b8f72e8baa1aabc634514ec0f0d02b30d430b2cbbc6a6e6b2035bc0cc03"
}
},
"pre_install": [
"# Temporary solution for https://github.com/ScoopInstaller/Scoop/issues/6372",
"Get-ChildItem \"$dir\\highlight*\\*\" | Move-Item -Destination \"$dir\"",
"Remove-Item \"$dir\\highlight-$version*\" -ErrorAction SilentlyContinue"
],
"bin": "highlight.exe",
"shortcuts": [
[
"highlight-gui.exe",
"Highlight"
]
],
"checkver": {
"url": "https://gitlab.com/saalen/highlight/-/tags",
"regex": "v([\\d.]+)</a>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://www.andre-simon.de/zip/highlight-$version-x64.zip"
},
"32bit": {
"url": "http://www.andre-simon.de/zip/highlight-$version.zip"
}
},
"hash": {
"url": "http://andre-simon.de/zip/download.php",
"regex": "$sha256\\s+$basename"
}
}
}