dzgui-nix/dont-write-desktop-entry-during-runtime.patch

16 lines
582 B
Diff
Raw Normal View History

diff --git a/dzgui.sh b/dzgui.sh
index d8a895b..0c6c002 100755
--- a/dzgui.sh
+++ b/dzgui.sh
@@ -222,10 +222,6 @@ freedesktop_dirs(){
for i in dzgui grid.png hero.png logo.png; do
curl -s "$img_url/$i" > "$sd_install_path/$i"
done
- write_desktop_file > "$freedesktop_path/dzgui.desktop"
- if [[ $is_steam_deck -eq 1 ]]; then
- write_desktop_file > "$HOME/Desktop/dzgui.desktop"
- fi
}
find_library_folder(){
steam_path=$(python3 $helpers_path/vdf2json.py -i $default_steam_path/steamapps/libraryfolders.vdf | jq -r '.libraryfolders[]|select(.apps|has("221100")).path')