mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 03:03:42 +08:00
fix https://github.com/StarCitizenToolBox/app/issues/33 : getRSILauncherPath
This commit is contained in:
parent
62289b3b30
commit
a94f49eca2
@ -87,6 +87,9 @@ class SystemHelper {
|
|||||||
final path = confBox.get("custom_launcher_path");
|
final path = confBox.get("custom_launcher_path");
|
||||||
if (path != null && path != "") {
|
if (path != null && path != "") {
|
||||||
if (await File(path).exists()) {
|
if (await File(path).exists()) {
|
||||||
|
if (skipEXE) {
|
||||||
|
return "${path.toString().replaceAll("\\RSI Launcher.exe", "")}\\";
|
||||||
|
}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user