mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-29 12:04:27 +00:00
https://www.agner.org/optimize/#objconv. `pre_install` is for flattening a deeply nested folder.
17 lines
781 B
JSON
17 lines
781 B
JSON
{
|
|
"version": "2020-Jun-08",
|
|
"description": "Object file converter and dissassembler",
|
|
"homepage": "https://www.agner.org/optimize/#objconv",
|
|
"license": "GPL-3.0-or-later",
|
|
"url": "https://www.agner.org/optimize/objconv.zip",
|
|
"checkver": "File\\s*name.{0,32}?objconv\\.zip,\\s*size:\\s*[0-9]+,\\s*last\\s*modified:\\s*(2[0-9]{3}-...-[0-9]{2})",
|
|
"hash": "1BFD417D73A9BEB7EBDCFC986B5607D5966BE2F7F376FEF86B7BE3ED4F3E2164",
|
|
"bin": "objconv.exe",
|
|
"pre_install": [
|
|
"Get-ChildItem $dir -Filter objconv.exe -Recurse | select -first 1 | % { Move-Item $_.FullName -Destination $dir; Remove-Item $_.FullName.Replace($dir,'').Split('\\')[1] -Recurse }"
|
|
],
|
|
"autoupdate": {
|
|
"url": "https://www.agner.org/optimize/objconv.zip"
|
|
}
|
|
}
|