Create separate builds for macOS arm64 and x64

Due to complications with prebuilt binaries (sqlite & sharp)
This commit is contained in:
Oliver Schwendener 2024-06-24 08:23:28 +02:00
parent 380702fed8
commit 17029e308a
No known key found for this signature in database
GPG Key ID: 65FB86201210F104
2 changed files with 3 additions and 9 deletions

View File

@ -9,7 +9,7 @@ jobs:
release:
strategy:
matrix:
os: [macos-14, windows-2022, ubuntu-22.04]
os: [macos-13, macos-14, windows-2022, ubuntu-22.04]
runs-on: ${{ matrix.os }}
name: Publish new release
steps:

View File

@ -4,10 +4,7 @@
*/
module.exports = {
asar: true,
asarUnpack: [
"**/node_modules/sharp/**/*",
"**/node_modules/@img/**/*"
],
asarUnpack: ["**/node_modules/sharp/**/*", "**/node_modules/@img/**/*"],
productName: "Ueli",
directories: {
output: "release",
@ -21,10 +18,7 @@ module.exports = {
hardenedRuntime: true,
gatekeeperAssess: false,
icon: "assets/Build/app-icon-dark.png",
target: [
{ target: "dmg", arch: "universal" },
{ target: "zip", arch: "universal" },
],
target: [{ target: "dmg" }, { target: "zip" }],
},
win: {
icon: "assets/Build/app-icon-dark-transparent.png",