Improve artifact names in electron-builder.json5

- Add platform name 
- Remove "Installer" from the AppImage (AppImages are executables)
This commit is contained in:
Kaspar Emanuel 2022-06-08 13:26:25 +01:00 committed by GitHub
parent 99d473948b
commit 9770dd133a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
arch: ["x64"],
},
],
artifactName: "${productName}-${version}-Setup.${ext}",
artifactName: "${productName}-Windows-${version}-Setup.${ext}",
},
nsis: {
oneClick: false,
@ -28,10 +28,10 @@
},
mac: {
target: ["dmg"],
artifactName: "${productName}-${version}-Installer.${ext}",
artifactName: "${productName}-Mac-${version}-Installer.${ext}",
},
linux: {
target: ["AppImage"],
artifactName: "${productName}-${version}-Installer.${ext}",
artifactName: "${productName}-Linux-${version}.${ext}",
},
}