feat: Linux Path Basic Support

modified:   lib/ui/settings/settings_ui_model.dart
This commit is contained in:
xkeyC
2025-12-23 16:44:37 +08:00
parent 062014f24a
commit 1a1f72a596
6 changed files with 224 additions and 218 deletions

View File

@@ -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";