Open fmaclen opened 1 month ago
It avoids this scenario where the window is created but there is a blank page visible for a second or two, with a lower-case window title:
Here's an example implementation:
export const setLoadingView = (window: BrowserWindow) => { if (app.isPackaged) { window.loadFile(path.join(process.resourcesPath, 'assets', LOADING_HTML)); } else { window.loadFile(`../../resources/assets/${LOADING_HTML}`); } }
Example:
@GregoMac1 I think this one can wait.
It avoids this scenario where the window is created but there is a blank page visible for a second or two, with a lower-case window title:
Here's an example implementation:
Example: