feat: added boilr .desktop entry

This commit is contained in:
Lina 2023-08-16 13:21:04 +07:00
parent 6683996248
commit 701b93680d

View File

@ -66,6 +66,26 @@ get-boilr:
jq -r ".assets[] | select(.name | test(\"linux_BoilR\")) | .browser_download_url") \
-O ~/Desktop/BoilR
chmod +x ~/Desktop/BoilR
for px in 64 128 256;\
do \
curl $(curl -s https://api.github.com/repos/PhilipK/BoilR/contents/resources/$px/io.github.philipk.boilr.png | \
jq -r ".download_url") \
--create-dirs -o ~/.local/share/icons/hicolor/$px\x$px/apps/io.github.philipk.boilr.png;\
done
HOME=$HOME
echo -e \
"[Desktop Entry]\n\
Version=1.0\n\
Type=Application\n\
Name=BoilR\n\
Comment=Add non-steam games to your steam library\n\
Categories=Utility;Amusement;\n\
Keywords=Steam;Heroic;Lutris;Itch;Origin;GOG;UPlay;Icons;Images;Non-Steam;Games;\n\
Icon=io.github.philipk.boilr\n\
Exec=$HOME/Desktop/BoilR\n\
Terminal=false\n\
StartupNotify=true" \
> ~/.local/share/applications/BoilR.desktop
enable-vapor-theme:
#!/usr/bin/env bash