summaryrefslogtreecommitdiff
path: root/exe2app.bash
diff options
context:
space:
mode:
Diffstat (limited to 'exe2app.bash')
-rwxr-xr-xexe2app.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/exe2app.bash b/exe2app.bash
index b8616e2..f1c8b7f 100755
--- a/exe2app.bash
+++ b/exe2app.bash
@@ -59,12 +59,16 @@ log Generating $APPNAME from $EXE
mkdir -p "$APP/Contents"
mkdir -p "$APP/Contents/MacOS"
+mkdir -p "$APP/Contents/libs"
mkdir -p "$APP/Contents/Resources"
# Copy executable
#
cp "$EXE" "$APP/Contents/MacOS"
+# Patch executable
+dylibbundler -b -x "$APP/Contents/MacOS/$EXENAME" -d "$APP/Contents/libs"
+
# Create icons
#
makeicns -in "$ICON" -out "$APP/Contents/Resources/$APPNAME.icns"