Skip to content

Commit

Permalink
build: test build target to universal for mas build
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Sep 22, 2024
1 parent 5b442b5 commit dd93bbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: npm run dist:mac:mas:buildOnly

- name: Validate App
run: ls app-builds; ls app-builds/mas-arm64; xcrun altool --type macos --validate-app -f app-builds/mas-arm64/Super*.pkg -u ${{secrets.APPLEID}} -p ${{secrets.APPLEIDPASS}}
run: ls app-builds; ls app-builds/mas; xcrun altool --type macos --validate-app -f app-builds/mas/Super*.pkg -u ${{secrets.APPLEID}} -p ${{secrets.APPLEIDPASS}}
env:
APPLEID: ${{secrets.APPLEID}}
APPLEIDPASS: ${{secrets.APPLEIDPASS}}
Expand Down
4 changes: 3 additions & 1 deletion build/electron-builder.mas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ mas:
gatekeeperAssess: false
darkModeSupport: true
target:
- mas
- target: mas
arch:
- universal

hardenedRuntime: false
entitlements: build/entitlements.mas.plist
Expand Down
2 changes: 1 addition & 1 deletion electron-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ snap:
confinement: strict

mac:
notarize: true
appId: com.super-productivity.app
type: distribution
category: public.app-category.productivity
Expand All @@ -69,6 +68,7 @@ mac:
gatekeeperAssess: false
provisioningProfile: embedded.provisionprofile
darkModeSupport: true
notarize: true
extendInfo:
ITSAppUsesNonExemptEncryption: false
publish:
Expand Down

0 comments on commit dd93bbf

Please sign in to comment.