six-updater-web 0.19.7 → 0.20.0
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
CHANGED
@@ -211,11 +211,11 @@ class MainController < ApplicationController
|
|
211
211
|
end
|
212
212
|
|
213
213
|
if setting
|
214
|
-
@msg << "Override settings profile: <a href='/appsettings/edit/#{setting.id}' title='#{setting.real_exe} #{setting.real_params}'>#{setting.label}</a>"
|
214
|
+
@msg << "Override settings profile: <a href='/appsettings/edit/#{setting.id}' title='#{setting.real_exe} #{setting.real_params} (#{setting.real_path})'>#{setting.label}</a>"
|
215
215
|
else
|
216
216
|
if preset.appsetting
|
217
217
|
setting = preset.appsetting
|
218
|
-
@msg << "Preset settings profile: <a href='/appsettings/edit/#{setting.id}' title='#{setting.real_exe} #{setting.real_params}'>#{setting.label}</a>"
|
218
|
+
@msg << "Preset settings profile: <a href='/appsettings/edit/#{setting.id}' title='#{setting.real_exe} #{setting.real_params} (#{setting.real_path})'>#{setting.label}</a>"
|
219
219
|
end
|
220
220
|
end
|
221
221
|
|
@@ -22,7 +22,7 @@ case RUBY_VERSION
|
|
22
22
|
end
|
23
23
|
|
24
24
|
module SixUpdaterWeb
|
25
|
-
VERSION = "0.
|
25
|
+
VERSION = "0.20.0"
|
26
26
|
COMPONENT = "six-updater-web"
|
27
27
|
|
28
28
|
DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
|
@@ -240,7 +240,15 @@ module SixUpdaterWeb
|
|
240
240
|
Thread.new() do
|
241
241
|
file_to_use = "#{LOCAL_URL}/main"
|
242
242
|
sleep 3
|
243
|
-
|
243
|
+
iron = File.join(BASE_PATH, "tools", "IronPortable", "IronPortable.exe")
|
244
|
+
chrome = File.join(BASE_PATH, "tools", "GoogleChromePortable", "GoogleChromePortable.exe")
|
245
|
+
if File.exists?(iron)
|
246
|
+
system "cmd /c \"#{iron}\" --app=#{file_to_use}"
|
247
|
+
elsif File.exists?(chrome)
|
248
|
+
system "cmd /c \"#{chrome}\" --app=#{file_to_use}"
|
249
|
+
else
|
250
|
+
system "start #{file_to_use}"
|
251
|
+
end
|
244
252
|
end
|
245
253
|
=begin
|
246
254
|
arguments = nil
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 20
|
8
|
+
- 0
|
9
|
+
version: 0.20.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sickboy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-07-
|
17
|
+
date: 2010-07-15 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|