chore: 🤖 change macos user-facing app name to "Boundary"
also update asset filenames to "Boundary"
This commit is contained in:
4 files changed
+6
-6
No files matched your search
@@ -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,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.",
|
||||||
|
|||||||
@@ -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' },
|
||||||
@@ -86,4 +86,4 @@ const generateMenuTemplate = () => {
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
generateMenuTemplate: generateMenuTemplate
|
generateMenuTemplate: generateMenuTemplate
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user