mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 22:01:19 +00:00 
			
		
		
		
	 92e43b179b
			
		
	
	
		92e43b179b
		
			
		
	
	
	
	
		
			
			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>
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			939 B
		
	
	
	
		
			Reg
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			939 B
		
	
	
	
		
			Reg
		
	
	
	
	
	
| Windows Registry Editor Version 5.00
 | |
| 
 | |
| ; -----------------------------------------------------------------------------
 | |
| ;  undo: associate .git* configuration files with the default text editor
 | |
| ; -----------------------------------------------------------------------------
 | |
| 
 | |
| [-HKEY_CURRENT_USER\Software\Classes\.gitattributes]
 | |
| [-HKEY_CURRENT_USER\Software\Classes\.gitignore]
 | |
| [-HKEY_CURRENT_USER\Software\Classes\.gitmodules]
 | |
| 
 | |
| ; -----------------------------------------------------------------------------
 | |
| ;  undo: associate '.sh' files to be run with git bash
 | |
| ; -----------------------------------------------------------------------------
 | |
| 
 | |
| [-HKEY_CURRENT_USER\Software\Classes\.sh]
 | |
| [-HKEY_CURRENT_USER\Software\Classes\sh_auto_file]
 | |
| [-HKEY_CURRENT_USER\Software\Classes\sh_auto_file\DefaultIcon]
 | |
| [-HKEY_CURRENT_USER\Software\Classes\sh_auto_file\shell\open\command]
 | |
| [-HKEY_CURRENT_USER\Software\Classes\sh_auto_file\ShellEx\DropHandler]
 |