Skip to content

Instantly share code, notes, and snippets.

@xtexChooser
Created September 19, 2021 12:14
Show Gist options
  • Save xtexChooser/b18a928a9adad4a2d1d318e56e82b9ad to your computer and use it in GitHub Desktop.
Save xtexChooser/b18a928a9adad4a2d1d318e56e82b9ad to your computer and use it in GitHub Desktop.
MSYS Here
### How to Use
### 1. download this registry file and remove these comments
### 2. change D:\\msys64\\ to your MSYS installtation path
### 3. edit msys2.ini mingw64.ini mingw32.ini ucrt64.ini clang64.ini under your MSYS installtation path
### un-comment CHERE_INVOKING(edit line #CHERE_INVOKING=1 to CHERE_INVOKING=1)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsys]
@="打开 MSYS2"
"Icon"="D:\\msys64\\msys2.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsys\command]
@="D:\\msys64\\msys2.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysmingw64]
@="打开 MINGW64"
"Icon"="D:\\msys64\\mingw64.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysmingw64\command]
@="D:\\msys64\\mingw64.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysmingw32]
@="打开 MINGW32"
"Extended"=""
"Icon"="D:\\msys64\\mingw32.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysmingw32\command]
@="D:\\msys64\\mingw32.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysclang64]
@="打开 clang64"
"Extended"=""
"Icon"="D:\\msys64\\clang64.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysclang64\command]
@="D:\\msys64\\clang64.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysucrt64]
@="打开 ucrt64"
"Extended"=""
"Icon"="D:\\msys64\\ucrt64.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\openmsysucrt64\command]
@="D:\\msys64\\ucrt64.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment