Commit 84b0921
fix: store shell path instead of name in defaultShell settings
The defaultShell setting was storing shell.name (e.g., "pwsh") instead
of shell.path (e.g., "C:\Program Files\PowerShell\7\pwsh.exe"). This
caused the backend to fail PATH resolution and fall back to the wrong
shell (Windows PowerShell 5 instead of PowerShell 7).
Changes:
- AppPreferences.tsx: Use shell.path as option value
- ProjectSidebar.tsx: Use shell.path for project default shell
- Display shell.displayName for cleaner UI
Fixes #59
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5ccf1f2 commit 84b0921
File tree
2 files changed
+6
-6
lines changed- src/renderer
- components
- pages
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
| 240 | + | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | | - | |
| 296 | + | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
0 commit comments