File tree Expand file tree Collapse file tree 6 files changed +20
-7
lines changed
libs/openFrameworksCompiled/project Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ trim_trailing_whitespace = true
13
13
charset = utf-8
14
14
15
15
[* .sh ]
16
- indent_style = tab
16
+ indent_style = space
17
17
indent_size = 4
18
18
tab_width = 4
19
19
insert_final_newline = true
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ DEAD_CODE_STRIPPING = YES
101
101
ENABLE_BITCODE = NO
102
102
ENABLE_STRICT_OBJC_MSGSEND = YES
103
103
104
- SKIP_INSTALL = YES
104
+ SKIP_INSTALL = NO
105
105
106
106
CC = $(OF_PATH)/scripts/osx/cc.sh
107
107
CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ INSTALL_PATH = /Applications
118
118
//SDKROOT = macosx
119
119
//WRAPPER_EXTENSION = app
120
120
121
- SKIP_INSTALL = YES
121
+ SKIP_INSTALL = NO
122
122
123
123
CC = $(OF_PATH)/scripts/osx/cc.sh
124
124
CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ INSTALL_PATH = /Applications
113
113
SDKROOT = macosx
114
114
WRAPPER_EXTENSION = app
115
115
116
- SKIP_INSTALL = YES
116
+ SKIP_INSTALL = NO
117
117
118
118
CC = $(OF_PATH)/scripts/osx/cc.sh
119
119
CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
66
66
GCC_WARN_ABOUT_RETURN_TYPE = YES
67
67
GLES_SILENCE_DEPRECATION = YES
68
68
69
- CONFIGURATION_BUILD_DIR = $(SRCROOT)/bin/
69
+ SKIP_INSTALL = NO
70
70
71
71
CC = $(OF_PATH)/scripts/osx/cc.sh
72
72
CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ copy_binary() {
190
190
msg " Copy Binary to bin/ " ;
191
191
APP_NAME=" ${PRODUCT_NAME} .app"
192
192
APP_SOURCE=" ${CONFIGURATION_BUILD_DIR} /${APP_NAME} "
193
- APP_DEST=" ${SRCROOT} /bin/${APP_NAME} "
193
+ APP_DEST=" ${SRCROOT} /bin/"
194
194
echo " ------------------------------------------"
195
195
echo " 🔍 Debugging copy_binary function"
196
196
echo " Configuration Build Dir: ${CONFIGURATION_BUILD_DIR} "
@@ -203,13 +203,26 @@ copy_binary() {
203
203
exit 1
204
204
fi
205
205
206
+
207
+
206
208
# Check if the .app file exists
207
209
if [ ! -d " ${APP_SOURCE} " ]; then
208
210
echo " ERROR: Application bundle not found: ${APP_SOURCE} "
209
211
ls -l " ${CONFIGURATION_BUILD_DIR} " # List files in the build directory for debugging
210
212
exit 1
211
213
fi
212
- mkdir -p " ${SRCROOT} /bin/"
214
+ mkdir -p " ${SRCROOT} /bin/"
215
+ if [ " ${ACTION} " = " archive" ]; then
216
+ echo " Skipping copy to bin/ during Archive action."
217
+ return 0
218
+ fi
219
+
220
+ if [ -L " ${APP_SOURCE} " ] || file " ${APP_SOURCE} " | grep -q " alias" ; then
221
+ echo " WARNING: App source ${APP_SOURCE} is an alias or symlink. Skipping copy to prevent corruption."
222
+ return 0
223
+ fi
224
+
225
+
213
226
rsync -avz --delete " $APP_SOURCE " " $APP_DEST "
214
227
if [ $? -eq 0 ]; then
215
228
echo " App successfully $APP_DEST "
You can’t perform that action at this time.
0 commit comments