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,
"icon": "buildRes/icons/icon.icns",
"type": "distribution",
"target": {
"target": "dmg",
"arch": [
"x64",
"arm64",
"universal"
]
}
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64",
"universal"
]
}
]
},
"dmg": {
"contents": [
@@ -115,17 +117,32 @@
"win": {
"icon": "buildRes/icons/icon.ico",
"target": [
"appx",
"nsis"
{
"target": "appx",
"arch": "x64"
},
{
"target": "nsis",
"arch": "x64"
}
]
},
"linux": {
"executableName": "vutron",
"icon": "buildRes/icons",
"target": [
"snap",
"deb",
"rpm"
{
"target": "snap",
"arch": "x64"
},
{
"target": "deb",
"arch": "x64"
},
{
"target": "rpm",
"arch": "x64"
}
]
}
}