Skip to content

Commit

Permalink
Improve file names for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Klimas committed Jul 14, 2022
1 parent bbe4ef4 commit bb21770
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions electron-builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ module.exports = {
},
files: ['electron-build/**/*', 'node_modules/**/*'],
linux: {
artifactName: `Twine ${pkg.version} (Linux \${arch}).zip`,
artifactName: `Twine-${pkg.version}-Linux-\${arch}.zip`,
target: [{arch: ['arm64', 'ia32', 'x64'], target: 'zip'}]
},
mac: {
artifactName: `Twine ${pkg.version} (macOS).dmg`,
artifactName: `Twine-${pkg.version}-macOS.dmg`,
icon: `icons/app-${isPreview ? 'preview' : 'release'}.png`,
target: {arch: ['universal'], target: 'dmg'}
},
Expand All @@ -25,7 +25,7 @@ module.exports = {
allowToChangeInstallationDirectory: true
},
win: {
artifactName: `Twine ${pkg.version} (Windows).exe`,
artifactName: `Twine-${pkg.version}-Windows.exe`,
icon: `icons/app-${isPreview ? 'preview' : 'release'}.ico`,
target: 'nsis'
}
Expand Down

0 comments on commit bb21770

Please sign in to comment.