fix: miss TECH-PREVIEW

This commit is contained in:
xkeyC 2024-03-31 13:30:56 +08:00
parent bb48504016
commit ef715d569f
2 changed files with 2 additions and 6 deletions

View File

@ -2,7 +2,7 @@ class ConstConf {
static const String appVersion = "2.10.10 Beta"; static const String appVersion = "2.10.10 Beta";
static const int appVersionCode = 45; static const int appVersionCode = 45;
static const String appVersionDate = "2024-03-30"; static const String appVersionDate = "2024-03-30";
static const gameChannels = ["LIVE", "PTU", "EPTU"]; static const gameChannels = ["LIVE", "PTU", "EPTU", "TECH-PREVIEW"];
static const isMSE = static const isMSE =
String.fromEnvironment("MSE", defaultValue: "false") == "true"; String.fromEnvironment("MSE", defaultValue: "false") == "true";
} }

View File

@ -259,12 +259,8 @@ class HomeGameLoginUIModel extends _$HomeGameLoginUIModel {
String getChannelID(String installPath) { String getChannelID(String installPath) {
if (installPath.endsWith("\\LIVE")) { if (installPath.endsWith("\\LIVE")) {
return "LIVE"; return "LIVE";
} else if (installPath.endsWith("\\PTU")) {
return "PTU";
} else if (installPath.endsWith("\\EPTU")) {
return "EPTU";
} }
return "LIVE"; return "PTU";
} }
_savePwd(String inputEmail, String inputPassword) async { _savePwd(String inputEmail, String inputPassword) async {