VRC status checking

This commit is contained in:
Natsumi
2025-10-02 14:13:16 +13:00
parent f4d4754230
commit cac7bf6f17
10 changed files with 118 additions and 22 deletions

View File

@@ -31,6 +31,7 @@ contextBridge.exposeInMainWorld('electron', {
ipcRenderer.on('setWindowSize', callback),
onWindowStateChange: (callback) =>
ipcRenderer.on('setWindowState', callback),
onBrowserFocus: (callback) => ipcRenderer.on('onBrowserFocus', callback),
desktopNotification: (title, body, icon) =>
ipcRenderer.invoke('notification:showNotification', title, body, icon),
restartApp: () => ipcRenderer.invoke('app:restart'),