mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-06 15:10:20 +00:00
feat: Linux Path Basic Support
modified: lib/ui/settings/settings_ui_model.dart
This commit is contained in:
@@ -216,7 +216,8 @@ class HomeGameLoginUIModel extends _$HomeGameLoginUIModel {
|
||||
}
|
||||
|
||||
String getChannelID(String installPath) {
|
||||
if (installPath.endsWith("\\LIVE")) {
|
||||
final pathLower = installPath.platformPath.toLowerCase();
|
||||
if (pathLower.endsWith('\\live'.platformPath)) {
|
||||
return "LIVE";
|
||||
}
|
||||
return "PTU";
|
||||
|
||||
Reference in New Issue
Block a user