Skip to content

Instantly share code, notes, and snippets.

@prinsss
Created April 23, 2020 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prinsss/3104f937f9f3cb9e1f0c4f28f5735018 to your computer and use it in GitHub Desktop.
Save prinsss/3104f937f9f3cb9e1f0c4f28f5735018 to your computer and use it in GitHub Desktop.
修复便携版 VS Code、Typora 的文件类型关联
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]
@="Typora.md"
[HKEY_CLASSES_ROOT\.md\OpenWithProgids]
"Typora.md"=""
[HKEY_CLASSES_ROOT\Typora.md]
@="Markdown File"
"AppUserModelID"="abnerworks.Typora"
[HKEY_CLASSES_ROOT\Typora.md\DefaultIcon]
@="C:\\Users\\printempw\\scoop\\apps\\typora\\current\\resources\\app\\asserts\\file.ico"
[HKEY_CLASSES_ROOT\Typora.md\shell]
[HKEY_CLASSES_ROOT\Typora.md\shell\open]
[HKEY_CLASSES_ROOT\Typora.md\shell\open\command]
@="\"C:\\Users\\printempw\\scoop\\apps\\typora\\current\\Typora.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Applications\Typora.exe]
@="Typora"
[HKEY_CLASSES_ROOT\Applications\Typora.exe\DefaultIcon]
@="C:\\Users\\printempw\\scoop\\apps\\typora\\current\\resources\\app\\asserts\\file.ico"
[HKEY_CLASSES_ROOT\Applications\Typora.exe\shell]
[HKEY_CLASSES_ROOT\Applications\Typora.exe\shell\open]
"Icon"=""
[HKEY_CLASSES_ROOT\Applications\Typora.exe\shell\open\command]
@="\"C:\\Users\\printempw\\scoop\\apps\\typora\\current\\Typora.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Applications\Typora.exe\SupportedTypes]
".markdown"=""
".md"=""
".mdown"=""
".mkd"=""
".mmd"=""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.json]
@="VSCode.json"
[HKEY_CLASSES_ROOT\.json\OpenWithProgids]
"VSCode.json"=""
[HKEY_CLASSES_ROOT\VSCode.json]
@="JSON 源文件"
"AppUserModelID"="Microsoft.VisualStudioCode"
[HKEY_CLASSES_ROOT\VSCode.json\DefaultIcon]
@="C:\\Users\\printempw\\scoop\\apps\\vscode\\current\\resources\\app\\resources\\win32\\json.ico"
[HKEY_CLASSES_ROOT\VSCode.json\shell]
[HKEY_CLASSES_ROOT\VSCode.json\shell\open]
[HKEY_CLASSES_ROOT\VSCode.json\shell\open\command]
@="\"C:\\Users\\printempw\\scoop\\apps\\vscode\\current\\Code.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Applications\Code.exe]
[HKEY_CLASSES_ROOT\Applications\Code.exe\DefaultIcon]
@="C:\\Users\\printempw\\scoop\\apps\\vscode\\current\\resources\\app\\resources\\win32\\default.ico"
[HKEY_CLASSES_ROOT\Applications\Code.exe\shell]
[HKEY_CLASSES_ROOT\Applications\Code.exe\shell\open]
[HKEY_CLASSES_ROOT\Applications\Code.exe\shell\open\command]
@="\"C:\\Users\\printempw\\scoop\\apps\\vscode\\current\\Code.exe\" \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment