Merge pull request #2253 from h3poteto/iss-2244

refs #2244 Build universal mac for x64 and arm64
This commit is contained in:
AkiraFukushima 2021-03-18 00:27:47 +09:00 committed by GitHub
commit e49ca0b4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -12,10 +12,8 @@ build: install
mac:
yarn run package:mac
mv build/Whalebird-${VERSION}-mac.dmg build/Whalebird-${VERSION}-darwin-x64.dmg
mv build/Whalebird-${VERSION}-mac-arm64.dmg build/Whalebird-${VERSION}-darwin-arm64.dmg
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-x64.dmg >> sha256sum.txt
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-arm64.dmg >> sha256sum.txt
mv build/Whalebird-${VERSION}-mac-universal.dmg build/Whalebird-${VERSION}-darwin-universal.dmg
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-universal.dmg >> sha256sum.txt
mas:
yarn run build:mas

View File

@ -77,8 +77,7 @@
{
"target": "dmg",
"arch": [
"x64",
"arm64"
"universal"
]
}
],