Skip to content

Commit

Permalink
Fixes to allow macos m1 pro to build 3.98.9 version of app
Browse files Browse the repository at this point in the history
  • Loading branch information
hkjn committed Aug 1, 2022
1 parent 0d4e438 commit a099a5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildSrc/electron-package-json-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default async function generateTemplate({nameSuffix, version, updateUrl,
"target": [
{
"target": unpacked ? "dir" : "nsis",
"arch": "x64"
"arch": "arm64"
}
]
},
Expand All @@ -148,15 +148,15 @@ export default async function generateTemplate({nameSuffix, version, updateUrl,
"LSUIElement": 1 //hide dock icon on startup
},
"target": unpacked
? [{"target": "dir", "arch": "x64"}]
? [{"target": "dir", "arch": "arm64"}]
: [
{
"target": "zip",
"arch": "x64"
"arch": "arm64"
},
{
"target": "dmg",
"arch": "x64"
"arch": "arm64"
}
]
},
Expand All @@ -170,7 +170,7 @@ export default async function generateTemplate({nameSuffix, version, updateUrl,
"target": [
{
"target": unpacked ? "dir" : "AppImage",
"arch": "x64"
"arch": "arm64"
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions hack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# build steps with npm 8.12.1

npm ci
npm run build-packages
node desktop --custom-desktop-release

0 comments on commit a099a5a

Please sign in to comment.