six-updater-web 0.20.1 → 0.20.2

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
@@ -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.1'
10
+ s.version = '0.20.2'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -48,6 +48,9 @@ class Appsetting < ActiveRecord::Base
48
48
  end
49
49
  hash[:app_path] = self.real_path unless hash[:app_path]
50
50
  hash[:app_exe] = self.real_exe unless hash[:app_exe]
51
+ if self.beta
52
+ hash[:mods] = self.found_type::DEFAULT_BETA_MODS.join(";")
53
+ end
51
54
  hash
52
55
  end
53
56
 
@@ -7,6 +7,7 @@ class Arma2OaAppsetting < Arma2Appsetting
7
7
  DEFAULT_BETA_EXE_PATH = "expansion/beta"
8
8
  DEFAULT_SERVER_EXE = "arma2oaserver.exe"
9
9
  DEFAULT_SERVER_EXE_PATH = DEFAULT_EXE_PATH
10
+ DEFAULT_BETA_MODS = ["expansion\\beta", "expansion\\beta\\expansion"]
10
11
 
11
12
  REGKEYS = {"Arma2Oa" => ['SOFTWARE\\Bohemia Interactive Studio\\ArmA 2 OA', 'MAIN']}
12
13
 
@@ -22,7 +22,7 @@ case RUBY_VERSION
22
22
  end
23
23
 
24
24
  module SixUpdaterWeb
25
- VERSION = "0.20.1"
25
+ VERSION = "0.20.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
  - 20
8
- - 1
9
- version: 0.20.1
8
+ - 2
9
+ version: 0.20.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy