Skip to content

Commit 55f6915

Browse files
committed
feat(deck): Add ujust command for installing HHD Decky
1 parent bb8b747 commit 55f6915

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

system_files/deck/shared/usr/share/ublue-os/just/60-custom.just

+12
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@ get-simpledeckytdp:
106106
echo 'Please install Decky Loader by running ujust get-decky first.'
107107
fi
108108

109+
# Install HHD Decky Plugin for controlling input on the Lenovo Legion Go and ASUS Ally
110+
get-hhd-decky:
111+
#!/usr/bin/bash
112+
if [[ -d $HOME/homebrew/plugins ]]; then
113+
sudo rm -rf $HOME/homebrew/plugins/hhd-decky
114+
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
115+
sudo tar -xzf /tmp/hhd-decky.tar.gz -C $HOME/homebrew/plugins
116+
rm /tmp/hhd-decky.tar.gz
117+
else
118+
echo 'Please install Decky Loader by running ujust get-decky first.'
119+
fi
120+
109121
# Install EmuDeck (https://www.emudeck.com/)
110122
get-emudeck:
111123
#!/usr/bin/bash

0 commit comments

Comments
 (0)