From 90f4c9383f014b53d023c960f4a5cd35aa825937 Mon Sep 17 00:00:00 2001 From: TC Date: Sat, 22 Jan 2022 19:47:10 +0100 Subject: [PATCH] Release Mac arm64 --- package.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index eb5a17acb1..cdeb98b687 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,15 @@ "productName": "YouTube Music", "mac": { "identity": null, + "target": [ + { + "target": "dmg", + "arch": [ + "x64", + "arm64" + ] + } + ], "icon": "assets/generated/icons/mac/icon.icns" }, "win": { @@ -58,8 +67,8 @@ "clean": "rimraf dist", "build": "yarn run clean && electron-builder --win --mac --linux", "build:linux": "yarn run clean && electron-builder --linux", - "build:mac": "yarn run clean && electron-builder --mac", - "build:mac:arm64": "yarn run clean && electron-builder --mac --arm64", + "build:mac": "yarn run clean && electron-builder --mac dmg:x64", + "build:mac:arm64": "yarn run clean && electron-builder --mac dmg:arm64", "build:win": "yarn run clean && electron-builder --win", "lint": "xo", "plugins": "yarn run plugin:adblocker", @@ -130,4 +139,4 @@ ] } } -} \ No newline at end of file +}