-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support multiple binaries from one link #40
Comments
Ah interesting use case, doable, though it breaks a few assumptions. Like the Currently the logic treats the largest file (over 1MB) in the archive as the binary If there's 2, and the |
Thank you for the response! Maybe this requirement is not so urgent. |
Edit: this is not the same as what OP mentioned. I will open a new issue. |
I've implemented a Cloudflare Worker version that meets my requirements. If you're interested, feel free to give it a try. https://github.com/cxjava/installer # mp means multi program
# mp fuzzy matching: client_linux_amd64, you can just input client
curl https://your-workers-domain.workers.dev/xtaci/kcptun!?mp=client,server | bash
mv /usr/local/bin/client /usr/local/bin/kcptun_client
mv /usr/local/bin/server /usr/local/bin/kcptun_server
/usr/local/bin/kcptun_client -v
/usr/local/bin/kcptun_server -v |
https://github.com/divyam234/installer try my fork added support for windows ,fixed private repos installation ,multiple binaries install and filtering releases by search term and better arch detection. |
Such as https://github.com/xtaci/kcptun, in this
kcptun-linux-amd64-20231012.tar.gz
releaseContains two binaries:
server_darwin_amd64
,client_darwin_amd64
,What I expected is : when I run this repository script, I can install those two binaries into the folder
/usr/local/bin/
.The text was updated successfully, but these errors were encountered: