File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -45,16 +45,19 @@ export const WindowConfig: BrowserWindowConstructorOptions = {
4545 minWidth : 500 ,
4646 minHeight : 400 ,
4747 resizable : false ,
48- skipTaskbar : true , // Hide the app from the Windows taskbar
48+ /** Hide the app from the Windows taskbar */
49+ skipTaskbar : true ,
4950 webPreferences : {
5051 preload : Paths . preload ,
5152 contextIsolation : true ,
5253 nodeIntegration : false ,
53- // Disable web security in development to allow CORS requests
54+ /** Disable web security in development to allow CORS requests */
5455 webSecurity : ! process . env . VITE_DEV_SERVER_URL ,
55- // Keep the renderer painting when the window is hidden so Chromium never
56- // freezes the last frame. Without this, reopening the menubar window shows
57- // stale notification content until the next React re-render completes.
56+ /**
57+ * Keep the renderer process active even when the window is hidden. This prevents
58+ * Chromium from throttling or freezing the renderer process, ensuring that the menubar
59+ * window remains responsive and up-to-date with the latest notification content on show.
60+ */
5861 backgroundThrottling : false ,
5962 } ,
6063} ;
You can’t perform that action at this time.
0 commit comments