chore: 🤖 change macos user-facing app name to "Boundary"

also update asset filenames to "Boundary"
This commit is contained in:
Randall Morey committed 2021-02-23 16:55:49 -05:00
1 parent 02996c62d8
commit 6f5e2ce2e9
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ const artifactDestination = path.resolve(__dirname, '..', 'cli');
const downloadArtifact = version => { const downloadArtifact = version => {
const url = `https://releases.hashicorp.com/boundary/${version}/boundary_${version}_darwin_amd64.zip`; const url = `https://releases.hashicorp.com/boundary/${version}/boundary_${version}_darwin_amd64.zip`;
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'boundary-desktop-artifact-')) const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'boundary-artifact-'))
console.log('Create tmp artifact directory: ', tmpDir); console.log('Create tmp artifact directory: ', tmpDir);
const artifactFileName = url.split('/').pop(); const artifactFileName = url.split('/').pop();
@@ -25,7 +25,7 @@ module.exports = {
"/ember-test(/|$)", "/ember-test(/|$)",
"/tests(/|$)" "/tests(/|$)"
], ],
name: "Boundary Desktop", name: "Boundary",
appBundleId: "com.electron.boundary", appBundleId: "com.electron.boundary",
// TODO: where should the client version number come from? // TODO: where should the client version number come from?
appVersion: `${formattedAppVersion}${formattedCLIVersion}\n`, appVersion: `${formattedAppVersion}${formattedCLIVersion}\n`,
@@ -44,7 +44,7 @@ module.exports = {
name: "@electron-forge/maker-dmg", name: "@electron-forge/maker-dmg",
config: { config: {
title: "Boundary", title: "Boundary",
name: "boundary-desktop", name: "boundary",
icon: "./config/macos/disk.icns", icon: "./config/macos/disk.icns",
background: "./config/macos/background.png" background: "./config/macos/background.png"
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "desktop", "name": "desktop",
"productName": "Boundary Desktop", "productName": "Boundary",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"description": "Electron UI for client for Boundary.", "description": "Electron UI for client for Boundary.",
+1 -1
View File
@@ -4,7 +4,7 @@ const generateMenuTemplate = () => {
return [ return [
// { role: 'appMenu' } // { role: 'appMenu' }
{ {
label: 'Boundary Desktop', label: 'Boundary',
submenu: [ submenu: [
{ role: 'about' }, { role: 'about' },
{ type: 'separator' }, { type: 'separator' },