six-updater-web 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -22,7 +22,7 @@ case RUBY_VERSION
|
|
22
22
|
end
|
23
23
|
|
24
24
|
module SixUpdaterWeb
|
25
|
-
VERSION = "0.20.
|
25
|
+
VERSION = "0.20.1"
|
26
26
|
COMPONENT = "six-updater-web"
|
27
27
|
|
28
28
|
DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
|
@@ -243,9 +243,13 @@ module SixUpdaterWeb
|
|
243
243
|
iron = File.join(BASE_PATH, "tools", "IronPortable", "IronPortable.exe")
|
244
244
|
chrome = File.join(BASE_PATH, "tools", "GoogleChromePortable", "GoogleChromePortable.exe")
|
245
245
|
if File.exists?(iron)
|
246
|
-
|
246
|
+
Dir.chdir(File.dirname(iron)) do
|
247
|
+
system "cmd /c \"#{iron}\" --app=#{file_to_use}"
|
248
|
+
end
|
247
249
|
elsif File.exists?(chrome)
|
248
|
-
|
250
|
+
Dir.chdir(File.dirname(chrome)) do
|
251
|
+
system "cmd /c \"#{chrome}\" --app=#{file_to_use}"
|
252
|
+
end
|
249
253
|
else
|
250
254
|
system "start #{file_to_use}"
|
251
255
|
end
|
Binary file
|