Skip to content

Fix script for making osx bundle #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: pre160
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions utilities/make-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ popd > /dev/null

GORILLA_DIR=$ROOT/sources
DEST=$ROOT/Gorilla.app
EXTRA_DIR=$ROOT/utilities/make-osx-bundle
GORILLA_VERSION=$(grep "variable Version " $GORILLA_DIR/gorilla.tcl | perl -ne '/Version "([\d.]+)"/ && print $1')

echo "Full path = $ROOT"
Expand All @@ -68,8 +69,8 @@ rm -rf $DEST/Contents/Resources/Wish.icns
rm -rf $DEST/Contents/Resources/Wish.sdef
mkdir -p $DEST/Contents/Resources/Scripts
cp -R $GORILLA_DIR/* $DEST/Contents/Resources/Scripts/
cp $ROOT/utilities/osx/AppMain.tcl $DEST/Contents/Resources/Scripts/
sed -e "s/%VERSION%/$GORILLA_VERSION/g" $ROOT/utilities/osx/Info.plist > $DEST/Contents/Info.plist
cp $EXTRA_DIR/AppMain.tcl $DEST/Contents/Resources/Scripts/
sed -e "s/%VERSION%/$GORILLA_VERSION/g" $EXTRA_DIR/Info.plist > $DEST/Contents/Info.plist
cp $ROOT/utilities/pics/gorilla.icns $DEST/Contents/Resources/Gorilla.icns

echo normal exit