generated from SteamDeckHomebrew/decky-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55708da
commit b72dd11
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |