six-updater-web 0.22.0 → 0.22.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.22.0'
10
+ s.version = '0.22.1'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -214,9 +214,12 @@ class Appsetting < ActiveRecord::Base
214
214
  return nil if self.real_path.nil?
215
215
  return nil unless File.directory?(self.real_path)
216
216
  if self.class::SPECIFIC
217
- return self.class if File.exists?(File.join(self.real_path, self.real_exe))
217
+ if File.exists?(File.join(self.real_path, self.real_exe))
218
+ return self.class
219
+ else
220
+ return nil
221
+ end
218
222
  end
219
- #return self.class if self.class::SPECIFIC
220
223
  game = nil
221
224
  cond = nil
222
225
  ed = nil
@@ -1,5 +1,6 @@
1
1
  class Arma2OaStAppsetting < Arma2OaAppsetting
2
2
  FRIENDLY_NAME = "A2 Op. Arrowhead (Standalone)"
3
3
  SPECIFIC = true
4
+
4
5
  #Code here
5
- end
6
+ end
@@ -2,4 +2,6 @@ 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
+ FAMILY = Hash.new
6
+ FAMILY["Arma2"] = [["arma2.exe", "arma2server.exe"], {"Arma2St" => []}]
5
7
  end
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.22.0"
25
+ VERSION = "0.22.1"
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
- - 0
9
- version: 0.22.0
8
+ - 1
9
+ version: 0.22.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy