Skip to content

Commit f17e3f9

Browse files
authored
chore: refactor app name (#446)
* chore: refactor app name * fix: bin name * fix: format readme
1 parent f9bb1d3 commit f17e3f9

File tree

13 files changed

+44
-42
lines changed

13 files changed

+44
-42
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Contributing to ToolHive Studio <!-- omit from toc -->
1+
# Contributing to ToolHive <!-- omit from toc -->
22

3-
First off, thank you for taking the time to contribute to ToolHive Studio! :+1:
4-
:tada: ToolHive Studio is released under the Apache 2.0 license. If you would
3+
First off, thank you for taking the time to contribute to ToolHive! :+1:
4+
:tada: ToolHive is released under the Apache 2.0 license. If you would
55
like to contribute something or want to hack on the code, this document should
66
help you get started. You can find some hints for starting development in
7-
ToolHive Studio's [developer guide](./docs/README.md).
7+
ToolHive's [developer guide](./docs/README.md).
88

99
## Table of contents <!-- omit from toc -->
1010

@@ -26,7 +26,7 @@ unacceptable behavior to
2626

2727
## Reporting security vulnerabilities
2828

29-
If you think you have found a security vulnerability in ToolHive Studio please
29+
If you think you have found a security vulnerability in ToolHive please
3030
DO NOT disclose it publicly until we've had a chance to fix it. Please don't
3131
report security vulnerabilities using GitHub issues; instead, please follow this
3232
[process](./SECURITY.MD)
@@ -55,7 +55,7 @@ are a great place to start!
5555
message to indicate that the contributor agrees to the Developer Certificate
5656
of Origin. For additional details, check out the [DCO instructions](./DCO.md).
5757
- Create an issue outlining the fix or feature.
58-
- Fork the ToolHive Studio repository to your own GitHub account and clone it
58+
- Fork the ToolHive repository to your own GitHub account and clone it
5959
locally.
6060
- Hack on your changes.
6161
- Correctly format your commit messages, see

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p float="left">
22
<picture>
3-
<img src="./icons/source-files/app-icons/mac/512.png" alt="ToolHive Studio logo" height="100" align="middle" />
3+
<img src="./icons/source-files/app-icons/mac/512.png" alt="ToolHive logo" height="100" align="middle" />
44
</picture>
55
<picture>
66
<source media="(prefers-color-scheme: dark)" srcset="docs/images/toolhive-wordmark-white.png">
@@ -80,10 +80,10 @@ setup, no security headaches, no runtime hassles.
8080
Download and install the latest release of the ToolHive for your platform:
8181

8282
- macOS (Apple Silicon):
83-
[download the DMG file](https://github.com/stacklok/toolhive-studio/releases/latest/download/ToolHive.Studio.dmg),
83+
[download the DMG file](https://github.com/stacklok/toolhive-studio/releases/latest/download/ToolHive.dmg),
8484
open it, and drag the ToolHive app to your Applications folder.
8585
- Windows:
86-
[download the installer](https://github.com/stacklok/toolhive-studio/releases/latest/download/ToolHive.Studio.Setup.exe)
86+
[download the installer](https://github.com/stacklok/toolhive-studio/releases/latest/download/ToolHive.Setup.exe)
8787
and run it.
8888
> [!NOTE]
8989
> The Windows installer is not digitally signed yet, so you might need to

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# ToolHive Studio developer guide
1+
# ToolHive developer guide
22

3-
This is the front-end for ToolHive Studio, an Electron application built with
4-
React, TypeScript, and Vite.
3+
This is the front-end for ToolHive, an Electron application built with React,
4+
TypeScript, and Vite.
55

66
## Getting started
77

forge.config.ts

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const config: ForgeConfig = {
2424
packagerConfig: {
2525
asar: true,
2626
icon: './icons/icon',
27-
executableName: 'toolhive-studio',
27+
executableName: 'ToolHive',
2828
/**
2929
* Everything under bin/ is copied into
3030
* <app>/Contents/Resources/bin/ (macOS)
@@ -34,10 +34,10 @@ const config: ForgeConfig = {
3434
// Windows specific options
3535
win32metadata: {
3636
CompanyName: 'Stacklok',
37-
FileDescription: 'ToolHive Studio',
38-
OriginalFilename: 'ToolHive Studio.exe',
39-
ProductName: 'ToolHive Studio',
40-
InternalName: 'ToolHive Studio',
37+
FileDescription: 'ToolHive',
38+
OriginalFilename: 'ToolHive.exe',
39+
ProductName: 'ToolHive',
40+
InternalName: 'ToolHive',
4141
},
4242

4343
// MacOS Code Signing Configuration
@@ -89,16 +89,16 @@ const config: ForgeConfig = {
8989
new MakerSquirrel({
9090
// Windows Squirrel installer configuration
9191
setupIcon: './icons/icon.ico', // Setup.exe icon
92-
setupExe: 'ToolHive Studio Setup.exe',
92+
setupExe: 'ToolHive Setup.exe',
9393
noMsi: true, // Don't create MSI installer
9494
authors: 'Stacklok',
95-
exe: 'toolhive-studio.exe',
96-
name: 'toolhive-studio',
95+
exe: 'ToolHive.exe',
96+
name: 'ToolHive',
9797
}),
9898
new MakerDMG(
9999
{
100-
name: 'toolhive-studio',
101-
title: 'ToolHive Studio',
100+
name: 'ToolHive',
101+
title: 'ToolHive',
102102
icon: './icons/icon.icns',
103103
overwrite: true,
104104
background: './assets/dmg-installer-background.png',
@@ -117,24 +117,26 @@ const config: ForgeConfig = {
117117
new MakerTarGz({}, ['linux']),
118118
new MakerRpm({
119119
options: {
120-
name: 'toolhive-studio',
121-
productName: 'ToolHive Studio',
122-
genericName: 'ToolHive Studio',
120+
name: 'ToolHive',
121+
productName: 'ToolHive',
122+
genericName: 'ToolHive',
123123
icon: './icons/icon.png',
124124
requires: ['docker >= 20.10'],
125125
license: 'Apache-2.0',
126+
bin: 'ToolHive',
126127
},
127128
}),
128129
new MakerDeb({
129130
options: {
130-
name: 'toolhive-studio',
131-
productName: 'ToolHive Studio',
132-
genericName: 'ToolHive Studio',
131+
name: 'ToolHive',
132+
productName: 'ToolHive',
133+
genericName: 'ToolHive',
133134
icon: './icons/icon.png',
134135
depends: [],
135136
maintainer: 'Stacklok',
136137
homepage: 'https://github.com/stacklok/toolhive-studio',
137138
section: 'devel',
139+
bin: 'ToolHive',
138140
},
139141
}),
140142
// Requirements: install elfutils package and add Flathub remote

main/src/auto-launch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ interface DesktopEntry {
1717
export function createDesktopEntry(execPath: string): string {
1818
const entry: DesktopEntry = {
1919
Type: 'Application',
20-
Name: 'ToolHive Studio',
20+
Name: 'ToolHive',
2121
Exec: `"${execPath}" --hidden`,
2222
Hidden: 'false',
2323
NoDisplay: 'false',
2424
'X-GNOME-Autostart-enabled': 'true',
25-
Comment: 'ToolHive Studio Auto-Launch',
25+
Comment: 'ToolHive Auto-Launch',
2626
}
2727

2828
return Object.entries(entry)

main/src/system-tray.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function setupTrayMenu(tray: Tray, toolHiveIsRunning: boolean) {
224224
const menuTemplate = createMenuTemplate(tray, toolHiveIsRunning)
225225
const contextMenu = Menu.buildFromTemplate(menuTemplate)
226226

227-
tray.setToolTip('ToolHive Studio')
227+
tray.setToolTip('ToolHive')
228228
tray.setContextMenu(contextMenu)
229229

230230
// Windows-specific click handling

main/src/tests/auto-launch.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import { createDesktopEntry } from '../auto-launch'
44
describe('Linux desktop-entry generation', () => {
55
it('quotes the Exec path when it contains spaces', () => {
66
// context: https://stacklok.slack.com/archives/C072SGY78TS/p1750688399690469?thread_ts=1750674636.806059&cid=C072SGY78TS
7-
const execPath = '/home/alice/My Apps/Tool Hive/toolhive-studio'
7+
const execPath = '/home/alice/My Apps/Tool Hive/ToolHive'
88

99
const entry = createDesktopEntry(execPath)
1010

1111
expect(entry).toContain(
12-
`Exec="/home/alice/My Apps/Tool Hive/toolhive-studio" --hidden`
12+
`Exec="/home/alice/My Apps/Tool Hive/ToolHive" --hidden`
1313
)
1414
})
1515
})

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "toolhive-studio",
3-
"productName": "ToolHive Studio",
3+
"productName": "ToolHive",
44
"version": "0.0.5",
5-
"description": "ToolHive Studio is an application that allows you to install, manage and run MCP servers and connect them to AI agents and clients",
5+
"description": "ToolHive is an application that allows you to install, manage and run MCP servers and connect them to AI agents and clients",
66
"main": ".vite/build/main.js",
77
"repository": "https://github.com/stacklok/toolhive-studio",
88
"engines": {

renderer/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="UTF-8" />
5-
<title>ToolHive Studio</title>
5+
<title>ToolHive</title>
66
</head>
77
<body id="root" class="font-sans">
88
<script type="module" src="/src/renderer.tsx"></script>

renderer/src/common/components/error/__tests__/index.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('Error', () => {
3535

3636
expect(screen.getByText('System Keyring Cannot be Reached')).toBeVisible()
3737
expect(
38-
screen.getByText(/ToolHive Studio needs to access your system keyring/)
38+
screen.getByText(/ToolHive needs to access your system keyring/)
3939
).toBeVisible()
4040
})
4141

@@ -55,7 +55,7 @@ describe('Error', () => {
5555
screen.queryByText('System Keyring Cannot be Reached')
5656
).not.toBeInTheDocument()
5757
expect(
58-
screen.queryByText(/ToolHive Studio needs to access your system keyring/)
58+
screen.queryByText(/ToolHive needs to access your system keyring/)
5959
).not.toBeInTheDocument()
6060
})
6161

0 commit comments

Comments
 (0)