Browse files

Hide the Windows Explorer association for now, as it doesn't seem to …

…work
  • Loading branch information...
1 parent e5ab655 commit 8fbeb5f0151b79ba6fe7a939ede37867b36457e0 @danlucraft committed Feb 21, 2010
Showing with 6 additions and 5 deletions.
  1. +1 −0 README.md
  2. +1 −1 lib/redcar/installer.rb
  3. +4 −4 lib/redcar/usage.rb
View
1 README.md
@@ -32,6 +32,7 @@ Usage:
--theme=THEME Choose Textmate theme
## INSTALLING FROM SOURCE
+
Download from github, checkout the submodules and build JavaMateView. You will need Ant
installed, and RSpec and Cucumber installed as JRuby gems.
View
2 lib/redcar/installer.rb
@@ -20,7 +20,7 @@ def associate_with_any_right_click
# associate it with the current rubyw.exe
rubyw_bin = File.join([Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']]) << 'w' << Config::CONFIG['EXEEXT']
rubyw_bin.gsub!('/', '\\') # executable name wants back slashes
- for type, english_text in {'*' => 'Drive with Redcar', 'Directory' => 'Drive with Redcar (dir)'}
+ for type, english_text in {'*' => 'Open with Redcar', 'Directory' => 'Open with Redcar (dir)'}
name = Win32::Registry::HKEY_LOCAL_MACHINE.create "Software\\classes\\#{type}\\shell\\open_with_redcar"
name.write_s nil, english_text
dir = Win32::Registry::HKEY_LOCAL_MACHINE.create "Software\\classes\\#{type}\\shell\\open_with_redcar\\command"
View
8 lib/redcar/usage.rb
@@ -29,10 +29,10 @@ def help_requested
puts
puts " $ [sudo] redcar install"
puts
- puts "To associate with right click in windows explorer:"
- puts
- puts " C:> redcar --associate_with_any_right_click"
- puts
+ #puts "To associate with right click in windows explorer:"
+ #puts
+ #puts " C:> redcar --associate_with_any_right_click"
+ #puts
exit
end
end

0 comments on commit 8fbeb5f

Please sign in to comment.