feat(P3.T3): app:hostname IPC for device-name default

This commit is contained in:
byGalax
2026-05-16 19:04:03 +02:00
parent d449e128a8
commit f6e0e4dd09
5 changed files with 38 additions and 0 deletions
+3
View File
@@ -160,6 +160,9 @@ const api = {
setFullscreen: (enabled: boolean): Promise<void> =>
ipcRenderer.invoke(CHANNELS.WINDOW_SET_FULLSCREEN, enabled),
// OS hostname ------------------------------------------------------------
getHostname: (): Promise<string | null> => ipcRenderer.invoke(CHANNELS.APP_HOSTNAME),
// Wipe-on-close ----------------------------------------------------------
// Subscribe to the main-process pre-quit notification. The renderer's
// callback does the actual wipe (memoryWipe.ts) and resolves; we ack