mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 11:13:46 +08:00
fix: home game location scan
This commit is contained in:
parent
946b465973
commit
44f74004eb
@ -87,9 +87,13 @@ class HomeUIModel extends _$HomeUIModel {
|
|||||||
}
|
}
|
||||||
final scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
|
final scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
|
||||||
withVersion: ["LIVE", "PTU", "EPTU"], checkExists: true);
|
withVersion: ["LIVE", "PTU", "EPTU"], checkExists: true);
|
||||||
String? scInstalledPath;
|
|
||||||
|
String scInstalledPath = "not_install";
|
||||||
|
|
||||||
if (scInstallPaths.isNotEmpty) {
|
if (scInstallPaths.isNotEmpty) {
|
||||||
scInstalledPath = scInstallPaths.first;
|
if (scInstallPaths.first.isNotEmpty) {
|
||||||
|
scInstalledPath = scInstallPaths.first;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
final lastScreenInfo = S.current
|
final lastScreenInfo = S.current
|
||||||
.home_action_info_scan_complete_valid_directories_found(
|
.home_action_info_scan_complete_valid_directories_found(
|
||||||
|
Loading…
Reference in New Issue
Block a user