diff --git a/es-app/assets/EmulationStation-DE_Info.plist b/es-app/assets/EmulationStation-DE_Info.plist index 1801ca9f8..76406e21c 100644 --- a/es-app/assets/EmulationStation-DE_Info.plist +++ b/es-app/assets/EmulationStation-DE_Info.plist @@ -18,8 +18,14 @@ EmulationStation Desktop Edition CFBundlePackageType APPL + CFBundleSignature + ESDE + CFBundleShortVersionString + 2.0.0-alpha CFBundleVersion 2.0.0-alpha + CFBundleInfoDictionaryVersion + 6.0 LSApplicationCategoryType public.app-category.games LSMinimumSystemVersion diff --git a/tools/update_version_string.sh b/tools/update_version_string.sh index dceb65885..40351beba 100755 --- a/tools/update_version_string.sh +++ b/tools/update_version_string.sh @@ -95,8 +95,10 @@ NEWSTRING="EmulationStation Desktop Edition ${1}.${2}.${3}" cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE mv $TEMPFILE $MODIFYFILE -MODIFYSTRING=$(grep "${OLDVERSION}" $MODIFYFILE) +MODIFYSTRING=$(grep -m1 "${OLDVERSION}" $MODIFYFILE) MODIFYSTRING=$(echo $MODIFYSTRING | sed s/".........$"//) +# Adding the suffix is not fully compliant with the Apple documentation but seems to be working. +# It's not used for the release builds anyway so it should hopefully not be an issue. NEWSTRING="${1}.${2}.${3}${SUFFIX}" cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE