Skip to content

Commit 298d223

Browse files
committed
fix: update scoop manifest to properly handle binary renaming
1 parent 5c3f566 commit 298d223

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

bucket/httpprobe.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
"hash": "5ad656df582426c96b3685875bff32aab14e5f6c58f66141cb302d2565ecbf17"
1818
}
1919
},
20+
"extract_dir": "",
2021
"bin": "httpprobe.exe",
22+
"pre_install": [
23+
"Rename-Item \"$dir\\httpprobe-v1.0.1_windows_$($architecture)\" \"$dir\\httpprobe.exe\""
24+
],
2125
"checkver": "github",
2226
"autoupdate": {
2327
"architecture": {
@@ -30,6 +34,9 @@
3034
"arm64": {
3135
"url": "https://github.com/mrfoh/httpprobe/releases/download/v$version/httpprobe-v$version_windows_arm64.tar.gz"
3236
}
33-
}
37+
},
38+
"pre_install": [
39+
"Rename-Item \"$dir\\httpprobe-v$version_windows_$($architecture)\" \"$dir\\httpprobe.exe\""
40+
]
3441
}
3542
}

0 commit comments

Comments
 (0)