kerol2r20 / Windows-terminal-context-menu

📃 This is a simple script to add right click context menu for your best Windows terminal ❤
420 stars 38 forks source link

Does not work for custom added terminals #41

Open brybalicious opened 2 years ago

brybalicious commented 2 years ago

image

brybalicious commented 2 years ago

Note Git Bash and Powershell 7 Preview were skipped

brybalicious commented 2 years ago

Managed to manually add the entries to the registry, so unsure why the switch statement/elif blocks fail at some point

mchobbylong commented 2 years ago

Those entries were skipped because their hidden properties were missing in neither config.json for the Windows Terminal, nor config.json for the script itself. In this case, the if statement to check hidden property never became truthy (since it only checks if the $isHidden variable is an absolute $false).

Kindly have a look at my patch (mchobbylong/wt-context-menu@1f76635) that fixes this bug.