添加右键菜单

  1. 打开注册表HKEY_CLASSES_ROOT\Directory\Background\shell
  2. 新建项msys2,默认值修改为msys2
  3. 新建字符串值,命名为icon,修改值为C:\msys64\msys2.icon
  4. 修改command的默认值为C:\msys64\msys2_shell.cmd -mingw64 -here