Skip to content

Commit

Permalink
add install.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
aarron-lee committed Dec 10, 2023
1 parent 55708da commit b72dd11
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/bash
# does the following:
# - RGB control via LegionGoRemapper Decky Plugin
echo "removing previous install if it exists"

sudo rm -rf $HOME/homebrew/plugins/LegionGoRemapper

echo "installing LegionGoRemapper plugin for RGB control"
# download + install Legion go remapper
curl -L $(curl -s https://api.github.com/repos/aarron-lee/LegionGoRemapper/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) -o $HOME/LegionGoRemapper.tar.gz
sudo tar -xzf LegionGoRemapper.tar.gz -C $HOME/homebrew/plugins

# install complete, remove build dir
rm $HOME/LegionGoRemapper.tar.gz
echo "Installation complete"

0 comments on commit b72dd11

Please sign in to comment.