From 171d6468cd9b59fb1c1856961676f82ceb13dc30 Mon Sep 17 00:00:00 2001 From: aclist Date: Thu, 27 Oct 2022 13:43:03 +0900 Subject: [PATCH] Propagate .desktop file --- changelog.md | 4 ++++ dzgui.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index f333ea4..1e2d8bf 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,10 @@ - Custom query API - Standardize dialogs +## [3.0.3-5] 2022-10-27 +### Fixed +- Properly create .desktop file on desktop PCs + ## [3.0.3-4] 2022-10-16 ### Fixed - Steam Deck path discovery on first-time setup diff --git a/dzgui.sh b/dzgui.sh index 9418d8f..9fd1915 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=3.0.4 +version=3.0.5 aid=221100 game="dayz" @@ -1509,7 +1509,7 @@ check_version(){ [[ -f $config_file ]] && source $config_file [[ -z $branch ]] && branch="stable" check_branch - [[ ! -d "$freedesktop_path" ]] && freedesktop_dirs + [[ ! -f "$freedesktop_path/dzgui.desktop" ]] && freedesktop_dirs if [[ $version == $upstream ]]; then check_unmerged else