Skip to content

Commit 49c4cae

Browse files
authored
fix: electron-builder for windows and mac (#2209)
* fix: windows installer Signed-off-by: Adam Setch <adam.setch@outlook.com> * fix: windows installer Signed-off-by: Adam Setch <adam.setch@outlook.com> --------- Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 02638f2 commit 49c4cae

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

config/electron-builder.js

Lines changed: 3 additions & 2 deletions
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'],
26+
arch: ['universal', 'arm64', 'x64'],
2727
},
2828
hardenedRuntime: true,
2929
entitlements: 'assets/entitlements.mac.plist',
@@ -38,13 +38,14 @@ const config = {
3838
target: [
3939
{
4040
target: 'nsis',
41-
arch: ['x64', 'arm64'],
41+
arch: ['x64'],
4242
},
4343
],
4444
icon: 'assets/images/app-icon.ico',
4545
},
4646
nsis: {
4747
oneClick: false,
48+
uninstallDisplayName: '${productName}',
4849
},
4950
linux: {
5051
target: ['AppImage', 'deb', 'rpm'],

docs/src/components/LatestRelease.astro

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,21 @@ 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+
},
2334
{
2435
os: 'macOS',
2536
name: 'macOS (Universal)',
2637
url: getAssetLink(/Atlassify-\d+.\d+.\d+-universal.dmg/g),
27-
isPrimary: true,
2838
},
2939
{
3040
os: 'Windows',

0 commit comments

Comments
 (0)