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
@@ -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,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
|