mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 05:23:44 +08:00
fix: miss TECH-PREVIEW
This commit is contained in:
parent
bb48504016
commit
ef715d569f
@ -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";
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user