pack: use the target configuration in package.json more explicitly

This commit is contained in:
leejooy96 committed 2022-09-19 11:06:00 +09:00
1 parent 1c0ca872b4
commit 759be38320
1 file changed
+30 -13
+30 -13
View File
@@ -87,14 +87,16 @@
"gatekeeperAssess": false, "gatekeeperAssess": false,
"icon": "buildRes/icons/icon.icns", "icon": "buildRes/icons/icon.icns",
"type": "distribution", "type": "distribution",
"target": { "target": [
"target": "dmg", {
"arch": [ "target": "dmg",
"x64", "arch": [
"arm64", "x64",
"universal" "arm64",
] "universal"
} ]
}
]
}, },
"dmg": { "dmg": {
"contents": [ "contents": [
@@ -115,17 +117,32 @@
"win": { "win": {
"icon": "buildRes/icons/icon.ico", "icon": "buildRes/icons/icon.ico",
"target": [ "target": [
"appx", {
"nsis" "target": "appx",
"arch": "x64"
},
{
"target": "nsis",
"arch": "x64"
}
] ]
}, },
"linux": { "linux": {
"executableName": "vutron", "executableName": "vutron",
"icon": "buildRes/icons", "icon": "buildRes/icons",
"target": [ "target": [
"snap", {
"deb", "target": "snap",
"rpm" "arch": "x64"
},
{
"target": "deb",
"arch": "x64"
},
{
"target": "rpm",
"arch": "x64"
}
] ]
} }
} }