Make exe name match package name (#328)

This changes the executable name on all platforms to the lowercase
package name, which should make symlinking easier. It also updates the
package naming on Linux to be more consistent with the expectations of
the Linux package managers.

This should address https://github.com/wavetermdev/waveterm/issues/689
This commit is contained in:
Evan Simkowitz
2024-09-05 15:41:04 -07:00
committed by GitHub
parent 015ebf5dd5
commit 0c506a1768
+2 -1
View File
@@ -9,6 +9,7 @@ const path = require("path");
const config = {
appId: pkg.build.appId,
productName: pkg.productName,
executableName: pkg.name,
artifactName: "${productName}-${platform}-${arch}-${version}.${ext}",
npmRebuild: false,
nodeGypRebuild: false,
@@ -64,7 +65,7 @@ const config = {
.filter((path) => path),
},
linux: {
executableName: pkg.productName,
artifactName: "${name}-${platform}-${arch}-${version}.${ext}",
category: "TerminalEmulator",
icon: "build/icons.icns",
target: ["zip", "deb", "rpm", "AppImage", "pacman"],