makeself
makeself copied to clipboard
pipe to sh
Is there any way to make the resulting file executable by piping to sh? Some tools use the following style command for running scripts and it would be really nice to be able to send in a makeself archive to those tools.
curl URL | sh
I zeroed out the checksums, but the script still seems to reference $0. I know arx can do it, but I imagine it combines the binary data with the shell script differently.
Interesting idea, but yeah right now the script uses $0 to determine its actual location (since it needs to call tar and other commands on itself). I'm not sure how arx does it and whether it would translate to Makeself at all, but I'll take a look.
looking forward this feature 👍