six-updater-web 0.20.1 → 0.20.2
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -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
|
|