six-updater-web 0.21.2 → 0.21.3
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -74,7 +74,11 @@ class Appsetting < ActiveRecord::Base
|
|
74
74
|
def get_exe
|
75
75
|
edition = self.detect_edition
|
76
76
|
if self.server
|
77
|
-
|
77
|
+
if self.beta
|
78
|
+
edition::DEFAULT_BETA_EXE_PATH.size == 0 ? edition::DEFAULT_SERVER_EXE : "#{edition::DEFAULT_BETA_EXE_PATH}/#{edition::DEFAULT_SERVER_EXE}"
|
79
|
+
else
|
80
|
+
edition::DEFAULT_SERVER_EXE_PATH.size == 0 ? edition::DEFAULT_SERVER_EXE : "#{edition::DEFAULT_SERVER_EXE_PATH}/#{edition::DEFAULT_SERVER_EXE}"
|
81
|
+
end
|
78
82
|
else
|
79
83
|
if self.beta
|
80
84
|
edition::DEFAULT_BETA_EXE_PATH.size == 0 ? edition::DEFAULT_BETA_EXE : "#{edition::DEFAULT_BETA_EXE_PATH}/#{edition::DEFAULT_BETA_EXE}"
|