Repository navigation
Claude Switcher 2.0.2
Fixes a crash in 2.0.1: the menu stopped as soon as it opened with Cannot convert value " " to type "System.ConsoleColor". Update by running the installer again:
irm https://raw.githubusercontent.com/nyxon-tech/claude-switcher/main/install.ps1 | iexRows of the menu that hold a single coloured segment were unrolled by PowerShell into that segment's text and colour, so a character of the text was read as a colour. The fixture tests could not catch it because drawing needs a real console, so tests/console.ps1 now draws the menu, a held arrow key, search and selection in a real console window. It reproduced the crash before the fix and passes in PowerShell 7 and Windows PowerShell 5.1 after it.
All fixes from 2.0.1 are included.
| File | SHA-256 |
|---|---|
claude-switcher.ps1 |
098c4bc9a3b52abadbc6ee4d644dacf035bbfb9a5c18eff11edea45d109060d4 |
install.ps1 |
95e7aa6dd58a69be2ee8b1bd9c2c863d4b52e41f7300d6f2af66822d6b0f86d6 |