From 6f5e2ce2e930b21d48ec8b905eec79d49e5d35e7 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 23 Feb 2021 16:55:49 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20change=20macos=20user-f?= =?UTF-8?q?acing=20app=20name=20to=20"Boundary"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also update asset filenames to "Boundary" --- ui/desktop/electron-app/config/cli.js | 2 +- ui/desktop/electron-app/config/forge.config.js | 4 ++-- ui/desktop/electron-app/package.json | 2 +- ui/desktop/electron-app/src/menu.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/desktop/electron-app/config/cli.js b/ui/desktop/electron-app/config/cli.js index 2e6858008..b3a24e434 100644 --- a/ui/desktop/electron-app/config/cli.js +++ b/ui/desktop/electron-app/config/cli.js @@ -10,7 +10,7 @@ const artifactDestination = path.resolve(__dirname, '..', 'cli'); const downloadArtifact = version => { const url = `https://releases.hashicorp.com/boundary/${version}/boundary_${version}_darwin_amd64.zip`; 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); const artifactFileName = url.split('/').pop(); diff --git a/ui/desktop/electron-app/config/forge.config.js b/ui/desktop/electron-app/config/forge.config.js index 5eb335012..092522ce1 100644 --- a/ui/desktop/electron-app/config/forge.config.js +++ b/ui/desktop/electron-app/config/forge.config.js @@ -25,7 +25,7 @@ module.exports = { "/ember-test(/|$)", "/tests(/|$)" ], - name: "Boundary Desktop", + name: "Boundary", appBundleId: "com.electron.boundary", // TODO: where should the client version number come from? appVersion: `${formattedAppVersion}${formattedCLIVersion}\n`, @@ -44,7 +44,7 @@ module.exports = { name: "@electron-forge/maker-dmg", config: { title: "Boundary", - name: "boundary-desktop", + name: "boundary", icon: "./config/macos/disk.icns", background: "./config/macos/background.png" } diff --git a/ui/desktop/electron-app/package.json b/ui/desktop/electron-app/package.json index 69caf84b0..774beacec 100644 --- a/ui/desktop/electron-app/package.json +++ b/ui/desktop/electron-app/package.json @@ -1,6 +1,6 @@ { "name": "desktop", - "productName": "Boundary Desktop", + "productName": "Boundary", "version": "0.0.0", "private": true, "description": "Electron UI for client for Boundary.", diff --git a/ui/desktop/electron-app/src/menu.js b/ui/desktop/electron-app/src/menu.js index 8e37595bc..1047bb8a6 100644 --- a/ui/desktop/electron-app/src/menu.js +++ b/ui/desktop/electron-app/src/menu.js @@ -4,7 +4,7 @@ const generateMenuTemplate = () => { return [ // { role: 'appMenu' } { - label: 'Boundary Desktop', + label: 'Boundary', submenu: [ { role: 'about' }, { type: 'separator' }, @@ -86,4 +86,4 @@ const generateMenuTemplate = () => { module.exports = { generateMenuTemplate: generateMenuTemplate -}; \ No newline at end of file +};