better way of running the bluebomb helper script.
Description
this pr basically fits the entire downloading and running process into one command, so the users don't have to run 3 commands.
the old commands are:
wget https://wii.hacks.guide/assets/files/bluebomb-helper.sh
chmod +x bluebomb-helper.sh
./bluebomb-helper.sh
and the new command is:
wget -qO- https://wii.hacks.guide/assets/files/bluebomb-helper.sh | sh
if i did anything wrong, please notify me because this is my first time contributing here.
i did it i have no idea why sh fails, it's just a symlink to bash (it may be different in other systems, so nice idea)
i did it i have no idea why sh fails, it's just a symlink to bash (it may be different in other systems, so nice idea)
not always, like debian/ubuntu use dash, not bash for sh, you should never expect sh to work like bash in any case
how about the $SHELL variable?
it even works on iSH shell
it even works on iSH shell
The script is just written with bash in mind so... just make it run with bash if they don't have bash and still want to run it, they need to figure it out getting weird error cuz the user using weird shell is the least you want
figure what? bash is literally in most distro, you literally just need to type bash, like what originally was if they don't have bash, they most likely using niche distro which they probably know what's going if they're not using bash as their main shell, yes, they likely know how to fix it but you just make what originally will globally works into something that need extra work, no benefit it absolutely make no sense when you literally need bash to run, then rely on something like $SHELL to introduce uncertainty
niche distro
you don't automatically be a "niche" distro by just not using bash by default. so, by this logic, arch is a niche distro as well. arch uses zsh, which is superior in most cases compared to bash.
closing this and marking it as not planned. if it aint broke dont fix it.