ScoopInstaller_Main/scripts/git/uninstall-context.reg
Stephen 92e43b179b
git@2.39.2.windows.1: Add .reg scripts (#4462) (#4538)
Changes:
- Adds two .reg scripts:
  1. install-context.reg
     adds context-menu entries for 'Git GUI Here' and 'Git Bash Here'
  2. install-file-associations.reg
     associates .git* files as plain-text, and associates .sh with Bash

Notes:
- Closes: #4462
- The file-naming convention and post-install script were based on the
  `7zip.json`, `vim.json` and `pwsh.json` manifest files.
- The registry keys set by the .reg files are identical to those set by
  `[install.iss][1]` in the `[git-for-windows/build-extra][2]` repo.

[1]: <https://github.com/git-for-windows/build-extra/blobl/main/installer/install.iss>
[2]: <https://github.com/git-for-windows/build-extra>
2023-03-12 12:42:06 +05:30

24 lines
1.3 KiB
Reg

Windows Registry Editor Version 5.00
; -----------------------------------------------------------------------------
; undo: context menu entry 'Git GUI Here'
; -----------------------------------------------------------------------------
[-HKEY_CURRENT_USER\Software\Classes\Directory\background\shell\git_gui]
[-HKEY_CURRENT_USER\Software\Classes\Directory\background\shell\git_gui\command]
[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\git_gui]
[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\git_gui\command]
[-HKEY_CURRENT_USER\Software\Classes\LibraryFolder\background\shell\git_gui]
[-HKEY_CURRENT_USER\Software\Classes\LibraryFolder\background\shell\git_gui\command]
; -----------------------------------------------------------------------------
; undo: context menu entry 'Git Bash Here'
; -----------------------------------------------------------------------------
[-HKEY_CURRENT_USER\Software\Classes\Directory\background\shell\git_shell]
[-HKEY_CURRENT_USER\Software\Classes\Directory\background\shell\git_shell\command]
[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\git_shell]
[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\git_shell\command]
[-HKEY_CURRENT_USER\Software\Classes\LibraryFolder\background\shell\git_shell]
[-HKEY_CURRENT_USER\Software\Classes\LibraryFolder\background\shell\git_shell\command]