Skip to content

Commit ff876b4

Browse files
authored
refactor(macos): simplify on universal builds only (#2207)
* refactor(macos): simplify on universal builds only Signed-off-by: Adam Setch <adam.setch@outlook.com> * refactor(macos): simplify on universal builds only Signed-off-by: Adam Setch <adam.setch@outlook.com> --------- Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent ae1455a commit ff876b4

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

config/electron-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const config = {
2323
notarize: false, // Handle notarization in afterSign.js
2424
target: {
2525
target: 'default',
26-
arch: ['universal', 'arm64', 'x64'],
26+
arch: ['universal'],
2727
},
2828
hardenedRuntime: true,
2929
entitlements: 'assets/entitlements.mac.plist',

docs/src/components/LatestRelease.astro

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,11 @@ const getDownloadLinks = (assets: ReleaseAsset[]): DownloadLinks => {
2020
};
2121
2222
const supportedOSs: DownloadLink[] = [
23-
{
24-
os: 'macOS',
25-
name: 'macOS (Apple Silicon)',
26-
url: getAssetLink(/Atlassify-\d+.\d+.\d+-arm64.dmg/g),
27-
isPrimary: true,
28-
},
29-
{
30-
os: 'macOS',
31-
name: 'macOS (Intel)',
32-
url: getAssetLink(/Atlassify-\d+.\d+.\d+.dmg/g),
33-
},
3423
{
3524
os: 'macOS',
3625
name: 'macOS (Universal)',
3726
url: getAssetLink(/Atlassify-\d+.\d+.\d+-universal.dmg/g),
27+
isPrimary: true,
3828
},
3929
{
4030
os: 'Windows',

0 commit comments

Comments
 (0)