six-updater 0.13.3 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/six/updater.rb +16 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/six/updater.rb
CHANGED
@@ -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.
|
47
|
+
VERSION = '0.13.4'
|
48
48
|
COMPONENT = 'six-updater'
|
49
49
|
|
50
50
|
# Configuration
|
@@ -80,7 +80,21 @@ module Six
|
|
80
80
|
"\"#{File.join(TOOL_PATH, 'six-downloader.exe')}\""
|
81
81
|
end
|
82
82
|
|
83
|
-
|
83
|
+
|
84
|
+
DATA_PATH = if ENV['APPDATA']
|
85
|
+
if ENV['APPDATA'].size > 0
|
86
|
+
if File.exists?(ENV['APPDATA'])
|
87
|
+
File.join(ENV['APPDATA'], 'Six-Updater')
|
88
|
+
else
|
89
|
+
BASE_PATH
|
90
|
+
end
|
91
|
+
else
|
92
|
+
BASE_PATH
|
93
|
+
end
|
94
|
+
else
|
95
|
+
BASE_PATH
|
96
|
+
end
|
97
|
+
|
84
98
|
|
85
99
|
lf = File.join(DATA_PATH, "logs")
|
86
100
|
FileUtils.mkdir_p(lf) unless File.exists?(lf)
|
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.
|
4
|
+
version: 0.13.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sickboy
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-26 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|