From eb98a52e1476911be200a600bc4515c32e9675db Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Sat, 9 Jul 2022 03:14:56 +0200 Subject: [PATCH] chore: don't use a default game path when config read fails --- Dalamud.Injector/EntryPoint.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud.Injector/EntryPoint.cs b/Dalamud.Injector/EntryPoint.cs index 30976357d..381598b08 100644 --- a/Dalamud.Injector/EntryPoint.cs +++ b/Dalamud.Injector/EntryPoint.cs @@ -546,8 +546,8 @@ namespace Dalamud.Injector } catch (Exception) { - gamePath = @"C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn\game\ffxiv_dx11.exe"; - Log.Warning("Failed to read launcherConfigV3.json. Using default game installation path: {0}", gamePath); + Log.Error("Failed to read launcherConfigV3.json to get the set-up game path, please specify one using -g"); + return -1; } if (!File.Exists(gamePath))