From 9f57ac3b67ce222a251fb30c4cc4999d85572e1a Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 15 Jan 2024 00:14:56 +0000 Subject: Added call to dylibbundler --- exe2app.bash | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'exe2app.bash') 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" -- cgit v1.2.3