mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: don't use a default game path when config read fails
This commit is contained in:
parent
50c812f551
commit
eb98a52e14
1 changed files with 2 additions and 2 deletions
|
|
@ -546,8 +546,8 @@ namespace Dalamud.Injector
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
gamePath = @"C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn\game\ffxiv_dx11.exe";
|
Log.Error("Failed to read launcherConfigV3.json to get the set-up game path, please specify one using -g");
|
||||||
Log.Warning("Failed to read launcherConfigV3.json. Using default game installation path: {0}", gamePath);
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!File.Exists(gamePath))
|
if (!File.Exists(gamePath))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue