🚀 打包文件名规范化
This commit is contained in:
parent
5c01c0442c
commit
bda469e14b
@ -49,9 +49,10 @@
|
|||||||
"x64",
|
"x64",
|
||||||
"arm64",
|
"arm64",
|
||||||
"universal"
|
"universal"
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"artifactName": "${productName}-Mac-${arch}-${version}.${ext}",
|
||||||
category: "public.app-category.utilities"
|
category: "public.app-category.utilities"
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
@ -63,7 +64,7 @@
|
|||||||
"ia32"
|
"ia32"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// "target": "appx",
|
// "target": "appx",
|
||||||
// "arch": [
|
// "arch": [
|
||||||
// "x64",
|
// "x64",
|
||||||
@ -85,16 +86,17 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"artifactName": "${productName}-Windows-${arch}-${version}.${ext}"
|
||||||
},
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"artifactName": "${productName}-Setup-${version}.${ext}",
|
"artifactName": "${productName}-Windows-${arch}-${version}-Setup.${ext}",
|
||||||
"oneClick": false,
|
"oneClick": false,
|
||||||
"perMachine": false,
|
"perMachine": false,
|
||||||
"allowToChangeInstallationDirectory": true,
|
"allowToChangeInstallationDirectory": true,
|
||||||
"deleteAppDataOnUninstall": false
|
"deleteAppDataOnUninstall": false
|
||||||
},
|
},
|
||||||
"portable": {
|
"portable": {
|
||||||
"artifactName": "${productName}-${version}-${arch}.${ext}"
|
"artifactName": "${productName}-Windows-${arch}-${version}.${ext}"
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"target": [
|
"target": [
|
||||||
@ -103,7 +105,7 @@
|
|||||||
"arch": [
|
"arch": [
|
||||||
"x64",
|
"x64",
|
||||||
"arm64",
|
"arm64",
|
||||||
// "armv7l"
|
// "armv7l"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -111,7 +113,7 @@
|
|||||||
"arch": [
|
"arch": [
|
||||||
"x64",
|
"x64",
|
||||||
"arm64",
|
"arm64",
|
||||||
// "armv7l"
|
// "armv7l"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -120,14 +122,15 @@
|
|||||||
"x64"
|
"x64"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// "target": "snap",
|
// "target": "snap",
|
||||||
// "arch": [
|
// "arch": [
|
||||||
// "x64"
|
// "x64"
|
||||||
// ]
|
// ]
|
||||||
// }
|
// }
|
||||||
],
|
],
|
||||||
"category": "Network",
|
"category": "Network",
|
||||||
|
"artifactName": "${productName}-Linux-${arch}-${version}.${ext}"
|
||||||
},
|
},
|
||||||
"publish": [
|
"publish": [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user