videojuicer-player-sdk 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/playersdk/compilers/flex.rb +7 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -86,8 +86,14 @@ module PlayerSDK
|
|
86
86
|
Zip::ZipFile.open(file) { |zip_file|
|
87
87
|
zip_file.each { |f|
|
88
88
|
f_path = File.join(destination, f.name)
|
89
|
+
|
90
|
+
if File.exist?(f_path) then
|
91
|
+
FileUtils.rm_rf f_path
|
92
|
+
end
|
93
|
+
|
89
94
|
FileUtils.mkdir_p(File.dirname(f_path))
|
90
|
-
|
95
|
+
|
96
|
+
zip_file.extract(f, f_path) # unless File.exist?(f_path)
|
91
97
|
}
|
92
98
|
}
|
93
99
|
end
|