Commit 74f4eec
```
fix(electron): Improve window state saving and quit handling
Refines the Electron application's window management and shutdown process for greater reliability.
- Enhance `windowStateManager.save` to correctly save bounds for minimized windows, add checks for destroyed windows, and include more detailed logging.
- Restructure the `app.on('before-quit')` handler in `main.js` to ensure state is saved for all open windows before hiding them and triggering the delayed force quit. Includes improved logging for the quit process.
- Add `test.js` file containing a script designed to be injected into the web content to visually verify successful custom JavaScript execution via an on-screen banner.
```1 parent 2abc029 commit 74f4eec
0 commit comments