Skip to content

Commit

Permalink
feat(deck): Add ujust command for installing HHD Decky
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 11, 2024
1 parent bb8b747 commit 55f6915
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions system_files/deck/shared/usr/share/ublue-os/just/60-custom.just
Expand Up @@ -106,6 +106,18 @@ get-simpledeckytdp:
echo 'Please install Decky Loader by running ujust get-decky first.'
fi

# Install HHD Decky Plugin for controlling input on the Lenovo Legion Go and ASUS Ally
get-hhd-decky:
#!/usr/bin/bash
if [[ -d $HOME/homebrew/plugins ]]; then
sudo rm -rf $HOME/homebrew/plugins/hhd-decky
curl -L $(curl -s https://api.github.com/repos/hhd-dev/hhd-decky/releases/latest | grep "browser_download_url" | cut -d '"' -f 4) -o /tmp/hhd-decky.tar.gz
sudo tar -xzf /tmp/hhd-decky.tar.gz -C $HOME/homebrew/plugins
rm /tmp/hhd-decky.tar.gz
else
echo 'Please install Decky Loader by running ujust get-decky first.'
fi

# Install EmuDeck (https://www.emudeck.com/)
get-emudeck:
#!/usr/bin/bash
Expand Down

0 comments on commit 55f6915

Please sign in to comment.