Skip to content

Commit

Permalink
feat: added arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Venipa committed Mar 11, 2024
1 parent 3388ef5 commit 3f2a44f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ytmdesktop2",
"version": "0.11.7",
"version": "0.11.8",
"private": false,
"author": "Venipa <admin@venipa.net>",
"scripts": {
Expand Down
15 changes: 9 additions & 6 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,24 @@ const builderOptions = {
publish: ["github"],
appId: "net.venipa.ytmdesktop",
productName: "YouTube Music for Desktop",
artifactName: "${productName}-${arch}-${platform}.${ext}",
extraMetadata: {
name: "YouTube Music for Desktop",
},
mac: {
category: "public.app-category.music",
icon: "src/assets/icons/mac/icon.icns"
icon: "src/assets/icons/mac/icon.icns",
target: [
{ target: "dmg", arch: "x64" },
{ target: "dmg", arch: "arm64" }
]
},
dmg: {
icon: "src/assets/icons/mac/icon.icns",
title: "Install/Update ${productName} ${version}",
},
linux: {
target: ["AppImage"],
target: [{ target: "AppImage", arch: "x64" }, { target: "AppImage", arch: "arm64" }],
category: "Music",
icon: "src/assets/icons/mac/icon.icns",
},
Expand All @@ -32,10 +37,8 @@ const builderOptions = {
},
win: {
icon: "src/assets/icons/win/icon.ico",
target: {
target: "nsis",
arch: "x64",
},
target: [{ target: "nsis", arch: ["x64"] }, { target: "nsis", arch: ["arm64"] }],

compression: "maximum"
},
};
Expand Down

0 comments on commit 3f2a44f

Please sign in to comment.