Commit 9e5abc9
committed
fix: guard RendererPaths for settings window (no userDataPath)
Settings window opens without ?udp= parameter, so RendererPaths
constructor threw on null path. Wrap in try/catch — paths stays
null when unavailable, which is fine for the settings page.1 parent 4c9c586 commit 9e5abc9
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
0 commit comments