{
if (process.platform === 'win32') {
tray = new Tray(icoIcon)
}
- tray?.setToolTip('Mihomo Party')
+ tray?.setToolTip('Clash Party')
tray?.setIgnoreDoubleClickEvents(true)
await updateTrayIcon()
diff --git a/src/main/sys/autoRun.ts b/src/main/sys/autoRun.ts
index 654cdd1..0b1c252 100644
--- a/src/main/sys/autoRun.ts
+++ b/src/main/sys/autoRun.ts
@@ -115,7 +115,7 @@ Terminal=false
Type=Application
Icon=mihomo-party
StartupWMClass=mihomo-party
-Comment=Mihomo Party
+Comment=Clash Party
Categories=Utility;
`
diff --git a/src/main/utils/dirs.ts b/src/main/utils/dirs.ts
index 11ac41f..f0f8cbf 100644
--- a/src/main/utils/dirs.ts
+++ b/src/main/utils/dirs.ts
@@ -137,7 +137,7 @@ export function logPath(): string {
const year = date.getFullYear()
const month = String(date.getMonth() + 1).padStart(2, '0')
const day = String(date.getDate()).padStart(2, '0')
- const name = `mihomo-party-${year}-${month}-${day}`
+ const name = `clash-party-${year}-${month}-${day}`
return path.join(logDir(), `${name}.log`)
}
diff --git a/src/main/utils/ipc.ts b/src/main/utils/ipc.ts
index f1391f9..e25a3d1 100644
--- a/src/main/utils/ipc.ts
+++ b/src/main/utils/ipc.ts
@@ -285,7 +285,7 @@ export function registerIpcMainHandlers(): void {
ipcMain.handle('applyTheme', (_e, theme) => ipcErrorWrapper(applyTheme)(theme))
ipcMain.handle('copyEnv', (_e, type) => ipcErrorWrapper(copyEnv)(type))
ipcMain.handle('alert', (_e, msg) => {
- dialog.showErrorBox('Mihomo Party', msg)
+ dialog.showErrorBox('Clash Party', msg)
})
ipcMain.handle('showDetailedError', (_e, title, message) => {
dialog.showErrorBox(title, message)
diff --git a/src/renderer/floating.html b/src/renderer/floating.html
index 48008e3..a99e88a 100644
--- a/src/renderer/floating.html
+++ b/src/renderer/floating.html
@@ -2,7 +2,7 @@
- Mihomo Party Floating
+ Clash Party Floating
- Mihomo Party
+ Clash Party
{
className={`flex justify-between p-2 ${!useWindowFrame && platform === 'darwin' ? 'ml-[60px]' : ''}`}
>
-
-
ihomo Party
+ Clash Party