mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
(macOS) Improved Apple compliance for the Info.plist file.
This commit is contained in:
parent
1dcc728291
commit
8dfe472d0c
|
@ -18,8 +18,14 @@
|
|||
<string>EmulationStation Desktop Edition</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>ESDE</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.0.0-alpha</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2.0.0-alpha</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.games</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
|
|
@ -95,8 +95,10 @@ NEWSTRING="<string>EmulationStation Desktop Edition ${1}.${2}.${3}"
|
|||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||
mv $TEMPFILE $MODIFYFILE
|
||||
|
||||
MODIFYSTRING=$(grep "<string>${OLDVERSION}" $MODIFYFILE)
|
||||
MODIFYSTRING=$(grep -m1 "<string>${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="<string>${1}.${2}.${3}${SUFFIX}"
|
||||
|
||||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||
|
|
Loading…
Reference in a new issue