mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-21 21:16:51 +00:00
rebranding: skip OSX icon if there is no Resources dir
This commit is contained in:
parent
bd767b4ed0
commit
12caa26f83
@ -111,8 +111,9 @@ EOF
|
|||||||
pkgdir=..
|
pkgdir=..
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
cp "$icon_icns" "$pkgdir/Resources/Darkplaces.icns"
|
if [ -d "$pkgdir/Resources" ]; then
|
||||||
cat <<EOF >"$pkgdir/Resources/English.lproj/InfoPlist.strings"
|
cp "$icon_icns" "$pkgdir/Resources/Darkplaces.icns"
|
||||||
|
cat <<EOF >"$pkgdir/Resources/English.lproj/InfoPlist.strings"
|
||||||
/* Localized versions of Info.plist keys */
|
/* Localized versions of Info.plist keys */
|
||||||
|
|
||||||
CFBundleName = "$name";
|
CFBundleName = "$name";
|
||||||
@ -120,6 +121,7 @@ CFBundleShortVersionString = "$name";
|
|||||||
CFBundleGetInfoString = "Darkplaces by Forest 'LordHavoc' Hale";
|
CFBundleGetInfoString = "Darkplaces by Forest 'LordHavoc' Hale";
|
||||||
NSHumanReadableCopyright = "Copyright `date +%Y`";
|
NSHumanReadableCopyright = "Copyright `date +%Y`";
|
||||||
EOF
|
EOF
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat "$t/darkplaces-this.zip" >> "$EXECUTABLE"
|
cat "$t/darkplaces-this.zip" >> "$EXECUTABLE"
|
||||||
|
Loading…
Reference in New Issue
Block a user