Merge pull request #2253 from h3poteto/iss-2244
refs #2244 Build universal mac for x64 and arm64
This commit is contained in:
commit
e49ca0b4d5
6
Makefile
6
Makefile
|
@ -12,10 +12,8 @@ build: install
|
||||||
|
|
||||||
mac:
|
mac:
|
||||||
yarn run package:mac
|
yarn run package:mac
|
||||||
mv build/Whalebird-${VERSION}-mac.dmg build/Whalebird-${VERSION}-darwin-x64.dmg
|
mv build/Whalebird-${VERSION}-mac-universal.dmg build/Whalebird-${VERSION}-darwin-universal.dmg
|
||||||
mv build/Whalebird-${VERSION}-mac-arm64.dmg build/Whalebird-${VERSION}-darwin-arm64.dmg
|
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-universal.dmg >> sha256sum.txt
|
||||||
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-x64.dmg >> sha256sum.txt
|
|
||||||
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-arm64.dmg >> sha256sum.txt
|
|
||||||
|
|
||||||
mas:
|
mas:
|
||||||
yarn run build:mas
|
yarn run build:mas
|
||||||
|
|
|
@ -77,8 +77,7 @@
|
||||||
{
|
{
|
||||||
"target": "dmg",
|
"target": "dmg",
|
||||||
"arch": [
|
"arch": [
|
||||||
"x64",
|
"universal"
|
||||||
"arm64"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue