-
Notifications
You must be signed in to change notification settings - Fork 30
Helper Script
cobalt2727 edited this page Jan 24, 2022
·
5 revisions
The helper.sh file is here to help people easily run just one component of the megascript in their own setups (or even other projects! Just make sure to credit us somewhere).
Its also helpful for testing/debugging one script.
To run, let's say, the joycon-mouse file from this repository, which is in the scripts
folder, you
would run the following line:
bash <( curl https://raw.githubusercontent.com/cobalt2727/L4T-Megascript/master/helper.sh ) "scripts/joycon-mouse.sh"
Since barrier.sh is in another subfolder, to run that, you'd do something like:
bash <( curl https://raw.githubusercontent.com/cobalt2727/L4T-Megascript/master/helper.sh ) "scripts/extras/barrier.sh"
And obviously you need both bash
and curl
installed via sudo apt install
for these to work - the scripts should in most cases install everything else themselves.