()
| 33 | let migrationError: string | null = null |
| 34 | |
| 35 | function saveWindowBounds() { |
| 36 | if (!mainWindow || mainWindow.isDestroyed()) { |
| 37 | return |
| 38 | } |
| 39 | |
| 40 | store.app.set('window.bounds', mainWindow.getBounds()) |
| 41 | } |
| 42 | |
| 43 | function scheduleWindowBoundsSave() { |
| 44 | if (saveWindowBoundsTimer) { |
no test coverage detected