six-updater 0.13.9 → 0.13.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/six/updater.rb +11 -11
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-updater'
15
- s.version = '0.13.9'
15
+ s.version = '0.13.10'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
@@ -44,7 +44,7 @@ end
44
44
  module Six
45
45
  # TODO: Evaluate if this module should be a class instead?
46
46
  module Updater
47
- VERSION = '0.13.9'
47
+ VERSION = '0.13.10'
48
48
  COMPONENT = 'six-updater'
49
49
 
50
50
  # Configuration
@@ -78,16 +78,16 @@ module Six
78
78
  dpath = BASE_PATH
79
79
  if defined?(TAR2RUBYSCRIPT)
80
80
  unless File.exists?(File.join(BASE_PATH, "legacy.txt"))
81
- reg_path = nil
82
- begin
83
- reg_path = Win32::Registry::HKEY_CURRENT_USER.open("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders")['AppData']
84
- rescue
85
- end
86
- if reg_path
87
- if reg_path.size > 0
88
- dpath = File.join(reg_path, 'Six-Updater') if File.directory?(reg_path)
89
- end
90
- elsif ENV['APPDATA']
81
+ #reg_path = nil
82
+ #begin
83
+ # reg_path = Win32::Registry::HKEY_CURRENT_USER.open("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders")['AppData']
84
+ #rescue
85
+ #end
86
+ #if reg_path
87
+ # if reg_path.size > 0
88
+ # dpath = File.join(reg_path, 'Six-Updater') if File.directory?(reg_path)
89
+ # end
90
+ if ENV['APPDATA']
91
91
  if ENV['APPDATA'].size > 0
92
92
  dpath = File.join(ENV['APPDATA'], 'Six-Updater') if File.directory?(ENV['APPDATA'])
93
93
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.9
4
+ version: 0.13.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sickboy