From 7dad79e97af7574a400c3ecf687984503429332a Mon Sep 17 00:00:00 2001 From: david Date: Thu, 30 May 2024 12:35:22 +0200 Subject: [PATCH] Adding first draft of creating MacOs Application Bundle --- warp4j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/warp4j b/warp4j index c6989c7..87259f7 100755 --- a/warp4j +++ b/warp4j @@ -793,6 +793,9 @@ function warp_targets() { --output "$WARPED_TEMP_PATH/$MAC/$APP_NAME" \ &> /dev/null fail_if $? "Failed to warp for $MAC" + echo "Creating runnable MacOs Application Bundle $APP_NAME.app + mkdir $WARPED_TEMP_PATH/$MAC/$APP_NAME.app + cp "$WARPED_TEMP_PATH/$MAC/$APP_NAME $WARPED_TEMP_PATH/$MAC/$APP_NAME.app echo "Archiving for $MAC..." tar -C "$WARPED_TEMP_PATH/$MAC" -czf "$WARPED_TEMP_PATH/$APP_NAME-$MAC-x64.tar.gz" "$APP_NAME" fail_if $? "Failed to make archive for $MAC"