From f9df466ad82a8f981634f7319fd780bf1477a07b Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Sat, 21 Aug 2021 09:59:06 -0400 Subject: [PATCH] retain seeded file locations --- LibationLauncher/LibationLauncher.csproj | 2 +- LibationLauncher/Program.cs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index c0bfa4a4..93b9bab3 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.5.1.27 + 5.5.1.30 diff --git a/LibationLauncher/Program.cs b/LibationLauncher/Program.cs index 267752a9..3ef458b4 100644 --- a/LibationLauncher/Program.cs +++ b/LibationLauncher/Program.cs @@ -245,6 +245,10 @@ namespace LibationLauncher if (!File.Exists(filePaths)) return; + var fileLocations = Path.Combine(config.LibationFiles, "FileLocations.json"); + if (!File.Exists(fileLocations)) + File.Copy(filePaths, fileLocations); + // files to be deleted at the end var libhackFilesToDelete = new List(); // .libhack files => errors