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
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'six-updater-web'
10
- s.version = '0.20.0'
10
+ s.version = '0.20.1'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.20.0"
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
- system "cmd /c \"#{iron}\" --app=#{file_to_use}"
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
- system "cmd /c \"#{chrome}\" --app=#{file_to_use}"
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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 20
8
- - 0
9
- version: 0.20.0
8
+ - 1
9
+ version: 0.20.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy