Skip to content

Commit 2122205

Browse files
committed
fix extra files in build
1 parent a2b6e5e commit 2122205

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
release: nightly
6060
prerelease: false
6161
replace: false
62-
files: ../openFrameworks/apps/projectGenerator/projectGenerator-osx.zip ../openFrameworks/apps/projectGenerator/projectGenerator-ios.zip
62+
files: ../openFrameworks/apps/projectGenerator/projectGenerator-osx/projectGenerator-osx.zip ../openFrameworks/apps/projectGenerator/projectGenerator-ios/projectGenerator-ios.zip

scripts/osx/buildPG.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ package_app(){
3535
electron-osx-sign projectGenerator-$PLATFORM/projectGenerator.app --platform=darwin --type=distribution --no-gatekeeper-assess --hardened-runtime --entitlements=scripts/osx/PG.entitlements --entitlements-inherit=scripts/osx/PG.entitlements
3636

3737
echo "Compressing PG app"
38-
zip --symlinks -r -q projectGenerator-$PLATFORM.zip projectGenerator-$PLATFORM
39-
4038
# need to upload zip of just app to apple for notarizing
41-
zip --symlinks -r -q projectGenerator-$PLATFORM/projectGenerator.app.zip projectGenerator-$PLATFORM/projectGenerator.app
42-
xcrun altool --notarize-app --primary-bundle-id "com.electron.projectgenerator" --username "${GA_APPLE_USERNAME}" -p "${GA_APPLE_PASS}" --asc-provider "${GA_NOTARIZE_PROVIDER}" --file projectGenerator-$PLATFORM/projectGenerator.app.zip
39+
zip --symlinks -r -q projectGenerator-$PLATFORM/projectGenerator-$PLATFORM.zip projectGenerator-$PLATFORM/projectGenerator.app
40+
xcrun altool --notarize-app --primary-bundle-id "com.electron.projectgenerator" --username "${GA_APPLE_USERNAME}" -p "${GA_APPLE_PASS}" --asc-provider "${GA_NOTARIZE_PROVIDER}" --file projectGenerator-$PLATFORM/projectGenerator-$PLATFORM.zip
4341

4442
fi
4543
}

0 commit comments

Comments
 (0)