diff --git a/src/main/index.ts b/src/main/index.ts index 7aa5a91..259e6a2 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -6,6 +6,10 @@ import { initUpdater } from './updater' let mainWindow: BrowserWindow | null = null +// Set app name early so Linux WM_CLASS is "JRedisDesktop" (not "Electron"), +// preventing the taskbar from grouping us with other Electron apps like VS Code. +app.setName('JRedisDesktop') + function getIconPath(): string { return join(__dirname, '../../build/icons/icon_256.png') }