Skip to content

Commit

Permalink
Merge pull request #271 from arunavo4/main
Browse files Browse the repository at this point in the history
Added Universal binary option for macOS
  • Loading branch information
saltyshiomix authored Aug 27, 2022
2 parents 176d2b8 + 7812b88 commit 0ec4b04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/nextron-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const args = arg({
'--ia32': Boolean,
'--armv7l': Boolean,
'--arm64': Boolean,
'--universal': Boolean,
'--config': String,
'--publish': String,
'-h': '--help',
Expand Down Expand Up @@ -49,6 +50,7 @@ if (args['--help']) {
--ia32 builds for ia32
--armv7l builds for armv7l
--arm64 builds for arm64
--universal builds for mac universal binary
--publish -p Publish artifacts (see https://goo.gl/tSFycD)
[choices: "onTag", "onTagOrDraft", "always", "never", undefined]
Expand Down Expand Up @@ -124,6 +126,7 @@ function createArchArgs() {
args['--ia32'] && archArgs.push('--ia32');
args['--armv7l'] && archArgs.push('--armv7l');
args['--arm64'] && archArgs.push('--arm64');
args['--universal'] && archArgs.push('--universal');
return archArgs;
}

Expand Down

0 comments on commit 0ec4b04

Please sign in to comment.