retain seeded file locations
This commit is contained in:
parent
2be5fd5af3
commit
f9df466ad8
@ -13,7 +13,7 @@
|
|||||||
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
|
||||||
<Version>5.5.1.27</Version>
|
<Version>5.5.1.30</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|||||||
@ -245,6 +245,10 @@ namespace LibationLauncher
|
|||||||
if (!File.Exists(filePaths))
|
if (!File.Exists(filePaths))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
var fileLocations = Path.Combine(config.LibationFiles, "FileLocations.json");
|
||||||
|
if (!File.Exists(fileLocations))
|
||||||
|
File.Copy(filePaths, fileLocations);
|
||||||
|
|
||||||
// files to be deleted at the end
|
// files to be deleted at the end
|
||||||
var libhackFilesToDelete = new List<string>();
|
var libhackFilesToDelete = new List<string>();
|
||||||
// .libhack files => errors
|
// .libhack files => errors
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user