From 054032699692d1724591031afcd0e39c6f00bbbe Mon Sep 17 00:00:00 2001 From: Till Toenshoff Date: Sat, 7 Dec 2024 22:32:11 +0100 Subject: [PATCH] fix: buggy dmg script --- Scripts/build_dmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/build_dmg.sh b/Scripts/build_dmg.sh index 11525aa..45bc857 100755 --- a/Scripts/build_dmg.sh +++ b/Scripts/build_dmg.sh @@ -4,7 +4,7 @@ name="PlayEm" app_name="${name}.app" plist_buddy_bin="/usr/libexec/PlistBuddy" -plist_path="${app_name}/Contents/Info.plist") +plist_path="${app_name}/Contents/Info.plist" version="v"$($plist_buddy_bin -c "Print :CFBundleShortVersionString" $plist_path) version="${version}."$($plist_buddy_bin -c "Print :CFBundleVersion" $plist_path)