0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-13 02:30:43 -05:00

Merge branch 'master' into fix/locales

This commit is contained in:
IsWaffle 2024-07-07 13:29:06 +00:00
commit db9dab0ade

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> /// <returns>returns true if the temp folder was cleaned succefully or doesn't exist. returns false if something went wrong.</returns>
public bool CleanTempFiles() 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) if (!rootdir.Exists)
{ {