six-updater-web 0.14.12 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -224,6 +224,20 @@ class MainController < ApplicationController
|
|
224
224
|
@msg << "Resetting skip status." if reset
|
225
225
|
|
226
226
|
setting = Appsetting.new unless setting
|
227
|
+
|
228
|
+
procs = setting.processes
|
229
|
+
unless procs.empty?
|
230
|
+
@msg << "<br /><b>WARNING:</b> There seem to be open arma processes: #{setting.real_exe}<br />Pids: #{procs}"
|
231
|
+
end
|
232
|
+
|
233
|
+
unless File.directory?(setting.real_path)
|
234
|
+
@msg << "<br /><b>WARNING:</b> ArmA folder not set or non existent: #{setting.real_path}"
|
235
|
+
end
|
236
|
+
|
237
|
+
if setting.modpath && !File.directory?(setting.real_modpath)
|
238
|
+
@msg << "<br /><b>WARNING:</b> Mod installation folder not set or non existent: #{setting.real_modpath}"
|
239
|
+
end
|
240
|
+
|
227
241
|
preset.all_mods(server).each do |mod|
|
228
242
|
mod.update_version(setting.real_path) # TODO: this already runs in updater_yml, but there doesn't run if autoskip is disabled
|
229
243
|
if reset && !@autoskip
|
@@ -271,11 +285,6 @@ class MainController < ApplicationController
|
|
271
285
|
|
272
286
|
@msg << "<br />Saved six-updater.yml!<br /><b>A window should open displaying the update process progress</b>"
|
273
287
|
|
274
|
-
procs = setting.processes
|
275
|
-
unless procs.empty?
|
276
|
-
@msg << "<br /><b>WARNING:</b> There seem to be open arma processes: #{procs}"
|
277
|
-
end
|
278
|
-
|
279
288
|
when "stop game"
|
280
289
|
setting.processes.each { |entry| @msg << "Process to be killed: #{entry}" }
|
281
290
|
setting.kill!
|
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
|
+
- 15
|
8
|
+
- 1
|
9
|
+
version: 0.15.1
|
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-05-
|
17
|
+
date: 2010-05-10 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|