File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,13 @@ jobs:
221221 # Copy the .app to Payload
222222 cp -r "$APP_PATH" "$PWD/build/output/Payload/"
223223
224+ # Get app name from path
225+ APP_NAME=$(basename "$APP_PATH")
226+ echo "📱 App name: $APP_NAME"
227+
224228 # Remove existing code signatures (AltStore will re-sign)
225- find "$PWD/build/output/Payload/CBVVPN.app " -name "_CodeSignature" -type d -prune -exec rm -rf {} +
226- find "$PWD/build/output/Payload/CBVVPN.app " -name "embedded.mobileprovision" -type f -exec rm -f {} +
229+ find "$PWD/build/output/Payload/$APP_NAME " -name "_CodeSignature" -type d -prune -exec rm -rf {} +
230+ find "$PWD/build/output/Payload/$APP_NAME " -name "embedded.mobileprovision" -type f -exec rm -f {} +
227231
228232 # Create IPA with proper structure
229233 cd "$PWD/build/output"
Original file line number Diff line number Diff line change @@ -290,9 +290,13 @@ jobs:
290290 # Copy the .app to Payload
291291 cp -r "$APP_PATH" "$PWD/build/output/Payload/"
292292
293+ # Get app name from path
294+ APP_NAME=$(basename "$APP_PATH")
295+ echo "📱 App name: $APP_NAME"
296+
293297 # Remove existing code signatures (AltStore will re-sign)
294- find "$PWD/build/output/Payload/CBVVPN.app " -name "_CodeSignature" -type d -prune -exec rm -rf {} +
295- find "$PWD/build/output/Payload/CBVVPN.app " -name "embedded.mobileprovision" -type f -exec rm -f {} +
298+ find "$PWD/build/output/Payload/$APP_NAME " -name "_CodeSignature" -type d -prune -exec rm -rf {} +
299+ find "$PWD/build/output/Payload/$APP_NAME " -name "embedded.mobileprovision" -type f -exec rm -f {} +
296300
297301 cd "$PWD/build/output"
298302 zip -r CBProProxy.ipa Payload
You can’t perform that action at this time.
0 commit comments