Permalink
Browse files

Default to 'Run Git from the Windows Command Prompt'

Create 'Path Option' reg value so that
'Run Git from the Windows Command Prompt' option is selected during install
  • Loading branch information...
1 parent 0dfd3ef commit cb3386918599b8673110321d7419e389e09efd45 @dougireton dougireton committed Dec 6, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 recipes/default.rb
View
@@ -26,11 +26,18 @@
end
package "git"
when "windows"
+ # Create 'Path Option' reg value so that
+ # 'Run Git from the Windows Command Prompt' option is selected during install
+ windows_registry 'HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Git_is1' do
+ values 'Inno Setup CodeFile: Path Option' => 'Cmd'
+ end
+
windows_package node['git']['display_name'] do
source node['git']['url']
checksum node['git']['checksum']
installer_type :inno
end
+
when "mac_os_x"
dmg_package "GitOSX-Installer" do
app node['git']['osx_dmg']['app_name']

0 comments on commit cb33869

Please sign in to comment.