six-updater-web 0.22.1 → 0.22.2

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.22.1'
10
+ s.version = '0.22.2'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -216,6 +216,8 @@ class Appsetting < ActiveRecord::Base
216
216
  if self.class::SPECIFIC
217
217
  if File.exists?(File.join(self.real_path, self.real_exe))
218
218
  return self.class
219
+ elsif File.exists?(File.join(self.real_path, self.class::DEFAULT_EXE)) || File.exists?(File.join(self.real_path, self.class::DEFAULT_SERVER_EXE))
220
+ return self.class
219
221
  else
220
222
  return nil
221
223
  end
@@ -2,5 +2,7 @@ class Arma2OaStAppsetting < Arma2OaAppsetting
2
2
  FRIENDLY_NAME = "A2 Op. Arrowhead (Standalone)"
3
3
  SPECIFIC = true
4
4
 
5
+ FAMILY = Hash.new
6
+ FAMILY["Arma2Oa"] = [["arma2oa.exe", "arma2oaserver.exe"], {"Arma2OaSt" => ["!addons/"]}]
5
7
  #Code here
6
8
  end
@@ -2,6 +2,7 @@ class Arma2StAppsetting < Arma2Appsetting
2
2
  FRIENDLY_NAME = "ArmA 2 (Standalone)"
3
3
  SPECIFIC = true
4
4
  REGKEYS = {"Arma2" => ['SOFTWARE\\Bohemia Interactive Studio\\ArmA 2', 'MAIN']}
5
+
5
6
  FAMILY = Hash.new
6
7
  FAMILY["Arma2"] = [["arma2.exe", "arma2server.exe"], {"Arma2St" => []}]
7
8
  end
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.22.1"
25
+ VERSION = "0.22.2"
26
26
  COMPONENT = "six-updater-web"
27
27
 
28
28
  DEFAULT_IP = "127.0.0.1" unless defined?(DEFAULT_IP)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 22
8
- - 1
9
- version: 0.22.1
8
+ - 2
9
+ version: 0.22.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy