Commit 01cd0ad
committed
Fix blank UI on Windows; add ML env option to uninstaller
Blank UI on Windows:
- Call app.disableHardwareAcceleration() on win32 before app.whenReady()
to prevent blank-screen issue caused by certain GPU drivers (very
common Electron/Windows bug)
- Use show:false + ready-to-show event so the window appears only after
content is rendered, eliminating the blank flash on slow machines
- Add F12 / Ctrl+Shift+I shortcut to open DevTools for in-field debugging
- Wrap init() with .catch() so any startup error shows a readable message
instead of a silent blank screen
Uninstaller improvements:
- Add "Keep ML environment" checkbox (was always deleted before)
- All three items (venv, content, settings) are now opt-in to delete,
defaulting to Keep so no accidental data loss
- Update preload.js runUninstall() and main.js handler to accept keepVenv
- Update size display copy to reflect the new opt-in model1 parent 4ecfb1e commit 01cd0ad
4 files changed
Lines changed: 45 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
722 | | - | |
| 722 | + | |
723 | 723 | | |
724 | | - | |
725 | | - | |
726 | | - | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
727 | 729 | | |
728 | 730 | | |
729 | 731 | | |
| |||
772 | 774 | | |
773 | 775 | | |
774 | 776 | | |
| 777 | + | |
775 | 778 | | |
776 | 779 | | |
777 | 780 | | |
778 | 781 | | |
779 | 782 | | |
780 | 783 | | |
781 | 784 | | |
| 785 | + | |
782 | 786 | | |
783 | 787 | | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
784 | 796 | | |
785 | 797 | | |
786 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
787 | 803 | | |
788 | 804 | | |
789 | 805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
731 | | - | |
| 731 | + | |
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
737 | 741 | | |
738 | 742 | | |
739 | 743 | | |
| |||
1301 | 1305 | | |
1302 | 1306 | | |
1303 | 1307 | | |
1304 | | - | |
| 1308 | + | |
1305 | 1309 | | |
1306 | | - | |
1307 | 1310 | | |
1308 | 1311 | | |
1309 | 1312 | | |
| |||
1316 | 1319 | | |
1317 | 1320 | | |
1318 | 1321 | | |
| 1322 | + | |
1319 | 1323 | | |
1320 | 1324 | | |
1321 | | - | |
| 1325 | + | |
| 1326 | + | |
1322 | 1327 | | |
1323 | 1328 | | |
| 1329 | + | |
1324 | 1330 | | |
1325 | 1331 | | |
1326 | 1332 | | |
| |||
1329 | 1335 | | |
1330 | 1336 | | |
1331 | 1337 | | |
1332 | | - | |
| 1338 | + | |
1333 | 1339 | | |
1334 | 1340 | | |
1335 | 1341 | | |
| |||
1435 | 1441 | | |
1436 | 1442 | | |
1437 | 1443 | | |
1438 | | - | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
0 commit comments