Manouchehri / bash-WSL-context-menu

Adds a "Bash" context menu option in Windows Explorer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing icon

hoyho opened this issue · comments

it miss the orange ubuntu icon of context when running on windows 10

image

and device info:
image

Had the same problem when I installed Ubuntu via the store. This worked for me:

[HKEY_CLASSES_ROOT\Directory\Background\shell\WSL]
@="Bash here"
"Icon"="C:\\Program Files\\WindowsApps\\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc\\images\\icon.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\WSL\command]
@="\"C:\\Windows\\System32\\bash.exe\""

If it doesn't work for you, launch the bash and then use ProcessExplorer to find the directory of bash.exe. There you will find the icon and then you can update the icon path.

Please let me know if there's any issues with the new reg files.