six-updater 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -1
- data/lib/six/updater.rb +1 -1
- data/lib/six/updater/mod.rb +3 -2
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/six/updater.rb
CHANGED
data/lib/six/updater/mod.rb
CHANGED
@@ -204,8 +204,9 @@ module Six
|
|
204
204
|
#folder = File.join(basepath, subfolder)
|
205
205
|
end
|
206
206
|
|
207
|
-
file = File.join(
|
208
|
-
|
207
|
+
file = File.join(DATA_PATH, "#{@folder_str}.7z")
|
208
|
+
file = File.join(BASE_PATH, "#{@folder_str}.7z") unless File.exists?(file)
|
209
|
+
if File.exists?(file)
|
209
210
|
log.info "Found #{@folder_str}.7z, using it"
|
210
211
|
Six::Updater.zipcheck
|
211
212
|
FileUtils.mkdir_p @path
|