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
+23 -6
+23 -6
View File
@@ -87,7 +87,8 @@
"gatekeeperAssess": false, "gatekeeperAssess": false,
"icon": "buildRes/icons/icon.icns", "icon": "buildRes/icons/icon.icns",
"type": "distribution", "type": "distribution",
"target": { "target": [
{
"target": "dmg", "target": "dmg",
"arch": [ "arch": [
"x64", "x64",
@@ -95,6 +96,7 @@
"universal" "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"
}
] ]
} }
} }