Interface: InitializeMainWindowOptions
Defined in: main/window/initializeMainWindow.ts:53
Propertiesβ
browserWindowRefβ
browserWindowRef: () =>
| BrowserWindowApi
| BrowserWindowConstructor
| null
| undefined;
Defined in: main/window/initializeMainWindow.ts:54
Returnsβ
| BrowserWindowApi
| BrowserWindowConstructor
| null
| undefined
CONSTANTSβ
CONSTANTS: {
DEFAULT_THEME: string;
}
Defined in: main/window/initializeMainWindow.ts:59
DEFAULT_THEMEβ
DEFAULT_THEME: string;
getLoadedFitFilePathβ
getLoadedFitFilePath: InitializeMainWindowGetLoadedFitFilePath;
Defined in: main/window/initializeMainWindow.ts:60
getPersistedThemePreferenceβ
getPersistedThemePreference: () => Promise<string>;
Defined in: main/window/initializeMainWindow.ts:61
Returnsβ
Promise<string>
isAutoUpdaterInitializedβ
isAutoUpdaterInitialized: InitializeMainWindowIsAutoUpdaterInitialized;
Defined in: main/window/initializeMainWindow.ts:62
logWithContextβ
logWithContext: LogWithContext;
Defined in: main/window/initializeMainWindow.ts:63
resolveAutoUpdaterβ
resolveAutoUpdater: () => Promise<AutoUpdaterLike | null>;
Defined in: main/window/initializeMainWindow.ts:64
Returnsβ
Promise<AutoUpdaterLike | null>
safeCreateAppMenuβ
safeCreateAppMenu: (win: MainWindowLike, theme: string, loadedPath?: string | null) => void;
Defined in: main/window/initializeMainWindow.ts:65
Parametersβ
winβ
themeβ
string
loadedPath?β
string | null
Returnsβ
void
sendToRendererβ
sendToRenderer: (win: MainWindowLike, channel: RendererIpcEventChannel, ...args: unknown[]) => void;
Defined in: main/window/initializeMainWindow.ts:70
Parametersβ
winβ
channelβ
argsβ
...unknown[]
Returnsβ
void
setAutoUpdaterInitializedβ
setAutoUpdaterInitialized: InitializeMainWindowSetAutoUpdaterInitialized;
Defined in: main/window/initializeMainWindow.ts:75
setMainWindowβ
setMainWindow: InitializeMainWindowSetMainWindow;
Defined in: main/window/initializeMainWindow.ts:76
setupAutoUpdaterβ
setupAutoUpdater: (mainWindow: MainWindowLike, autoUpdater: AutoUpdaterLike | null) => void;
Defined in: main/window/initializeMainWindow.ts:77
Parametersβ
mainWindowβ
autoUpdaterβ
AutoUpdaterLike | null
Returnsβ
void