Label macOS dev Dock instances by branch (#2068)
* fix: label macOS dev Dock instances * fix: keep dev badge visible in Dock labels * chore: clean up dev identity plumbing * feat: add stable-name dev command
This commit is contained in:
@@ -71,6 +71,7 @@ type CreateMainWindowOptions = {
|
||||
/** Why: main-process startup must register IPC handlers before the renderer
|
||||
* begins booting, or eager renderer calls can race into missing channels. */
|
||||
deferLoad?: boolean
|
||||
title?: string
|
||||
}
|
||||
|
||||
export function loadMainWindow(mainWindow: BrowserWindow): void {
|
||||
@@ -172,6 +173,7 @@ export function createMainWindow(
|
||||
...(savedBounds ? { x: savedBounds.x, y: savedBounds.y } : {}),
|
||||
minWidth: MIN_WIDTH,
|
||||
minHeight: MIN_HEIGHT,
|
||||
title: opts?.title ?? 'Orca',
|
||||
show: false,
|
||||
// Why: on macOS the menu lives in the system menu bar, so the in-window
|
||||
// menu bar is irrelevant. On Windows/Linux we auto-hide so the menu bar
|
||||
|
||||
Reference in New Issue
Block a user