Skip to content

Instantly share code, notes, and snippets.

@belaw
Last active July 19, 2024 09:13
Show Gist options
  • Save belaw/3bf516e14f04b9263cd846e6b85dfec6 to your computer and use it in GitHub Desktop.
Save belaw/3bf516e14f04b9263cd846e6b85dfec6 to your computer and use it in GitHub Desktop.
Fork Git Client Windows Explorer Integration
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\directory\background\shell\git_fork]
@="Open in &Fork"
"Icon"=hex(2):25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,00,41,\
00,54,00,41,00,25,00,5c,00,46,00,6f,00,72,00,6b,00,5c,00,46,00,6f,00,72,00,\
6b,00,2e,00,65,00,78,00,65,00,2c,00,30,00,00,00
[HKEY_CLASSES_ROOT\directory\background\shell\git_fork\command]
@=hex(2):22,00,25,00,4c,00,4f,00,43,00,41,00,4c,00,41,00,50,00,50,00,44,00,41,\
00,54,00,41,00,25,00,5c,00,46,00,6f,00,72,00,6b,00,5c,00,46,00,6f,00,72,00,\
6b,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,56,00,22,00,00,00
@belaw
Copy link
Author

belaw commented Jan 15, 2020

The Icon and command strings are in hexadecimal because they contain environment variables and need to be of type REG_EXPAND_SZ.
Their string values are %LOCALAPPDATA%\Fork\Fork.exe,0 and "%LOCALAPPDATA%\Fork\Fork.exe" "%V"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment