1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

Remove file extension on desktop file PNG

This commit is contained in:
aclist 2022-08-05 04:53:07 +09:00 committed by GitHub
parent 5b3344fa50
commit ae28465a96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -o pipefail set -o pipefail
version=2.4.0-rc.8 version=2.4.0-rc.9
aid=221100 aid=221100
game="dayz" game="dayz"
workshop="steam://url/CommunityFilePage/" workshop="steam://url/CommunityFilePage/"
@ -158,12 +158,12 @@ Terminal=false
Exec=/home/deck/Downloads/dzgui.sh Exec=/home/deck/Downloads/dzgui.sh
Name=DZGUI Name=DZGUI
Comment=dzgui Comment=dzgui
Icon=dzgui.png Icon=dzgui
END END
} }
guess_path(){ guess_path(){
if [[ $is_steam_deck -eq 1 ]]; then if [[ $is_steam_deck -eq 1 ]]; then
curl -s "https://github.com/aclist/dztui/raw/testing/dzgui.png" > "$HOME/.local/share/applications/dzgui.png" curl -s "https://raw.githubusercontent.com/aclist/dztui/testing/dzgui.png" > "$HOME/.local/share/applications/dzgui"
write_desktop_file > "$HOME/.local/share/applications/dzgui.desktop" write_desktop_file > "$HOME/.local/share/applications/dzgui.desktop"
steam_path="/home/deck/.local/share/Steam" steam_path="/home/deck/.local/share/Steam"
else else