0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 17:10:44 -05:00

update temp files path

This commit is contained in:
IsWaffle 2024-07-07 09:01:27 -04:00
parent a584088944
commit b466fe1480

View File

@ -319,7 +319,7 @@ namespace SPT.Launcher
/// <returns>returns true if the temp folder was cleaned succefully or doesn't exist. returns false if something went wrong.</returns>
public bool CleanTempFiles()
{
var rootdir = new DirectoryInfo(Path.Combine(Path.GetTempPath(), @"Battlestate Games\EscapeFromTarkov"));
var rootdir = new DirectoryInfo(Path.Combine(Environment.CurrentDirectory, "user\\sptappdata"));
if (!rootdir.Exists)
{