fix: Update windows executable name in desktop

This commit is contained in:
Susmitha Girumala committed 2021-09-08 13:35:16 -04:00
1 parent fe9ce25ed0
commit 6df7624afc
2 files changed
+4 -1

No files matched your search

@@ -10,6 +10,7 @@ const createConfig = () => {
copyright: `Copyright © ${new Date().getFullYear()} HashiCorp, Inc.`,
releaseVersion: process.env.RELEASE_VERSION,
releaseCommit: process.env.RELEASE_COMMIT,
executableName: 'Boundary',
};
if (process.env.BUILD_DEBIAN) {
@@ -17,6 +18,8 @@ const createConfig = () => {
config.productName = 'boundary-desktop';
}
if (isLinux() || process.env.BUILD_DEBIAN) config.executableName = 'boundary-desktop';
if (!config.releaseVersion) config.releaseVersion = '0.0.0';
return config;
};
@@ -26,7 +26,7 @@ module.exports = {
appVersion: config.releaseVersion,
appBundleId: 'com.electron.boundary',
appCopyright: config.copyright,
executableName: 'boundary-desktop',
executableName: config.executableName,
osxSign: {
identity: process.env.BOUNDARY_DESKTOP_SIGNING_IDENTITY,
'hardened-runtime': true,