mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
14 lines
397 B
Bash
14 lines
397 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
CDIR=$(pwd)
|
||
|
cd "$(dirname "$0")"
|
||
|
|
||
|
./AppHelper/create_mac_helper_apps.sh ../../../bin/BrowserWindowDom.app
|
||
|
|
||
|
if [ "$(grep -i TCrCocoaApplication ../../../bin/BrowserWindowDom.app/Contents/Info.plist)" = "" ];
|
||
|
then
|
||
|
sed -i '' "1,4s/<dict>/<dict>\n <key>NSPrincipalClass<\/key>\n <string>TCrCocoaApplication<\/string>/" ../../../bin/BrowserWindowDom.app/Contents/Info.plist
|
||
|
fi
|
||
|
|
||
|
cd "$CDIR"
|