fix(deck): Address issues in retrieving Chiaki4Deck

Always retrieve the flatpakref, no matter where it is in assets, and
add missing colon
This commit is contained in:
RJ Trujillo 2023-07-14 11:49:52 -06:00
parent dbf0afca06
commit f5a3b6e3ba

View File

@ -21,8 +21,10 @@ get-greenlight:
wget https://github.com/unknownskl/greenlight/releases/download/v2.0.0-beta8/Greenlight-2.0.0-beta8.AppImage -O ~/Desktop/Greenlight.AppImage
chmod +x ~/Desktop/Greenlight.AppImage
get-chiaki
flatpak install --noninteractive $(curl -s https://api.github.com/repos/streetpea/chiaki4deck/releases/latest | jq -r .assets[1].browser_download_url)
get-chiaki:
flatpak install \
$(curl -s https://api.github.com/repos/streetpea/chiaki4deck/releases/latest | \
jq -r ".assets[] | select(.name | test(\"flatpakref\")) | .browser_download_url")
enable-wallpaper-engine:
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git --single-branch /tmp/wallpaper-engine-kde-plugin