Commit f1ee3eb
committed
🤖 fix: restore React DevTools by reverting to dynamic import
The refactor in a55417a changed from using dynamic import() inside
app.whenReady() to using require() at module load time. This broke
React DevTools because electron-devtools-installer accesses Electron
APIs that aren't available until the app is ready.
Reverted to the working approach from commit 1e08943 that uses
await import() inside the app.whenReady() handler.
_Generated with `mux`_1 parent 5baa5db commit f1ee3eb
1 file changed
+5
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 28 | + | |
55 | 29 | | |
56 | 30 | | |
57 | 31 | | |
| |||
509 | 483 | | |
510 | 484 | | |
511 | 485 | | |
512 | | - | |
| 486 | + | |
513 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
514 | 491 | | |
515 | 492 | | |
516 | 493 | | |
| |||
0 commit comments