From b466fe14804df7d737e4474f3aab09ef7d55cc0e Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Sun, 7 Jul 2024 09:01:27 -0400 Subject: [PATCH] update temp files path --- project/SPT.Launcher.Base/Controllers/GameStarter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/SPT.Launcher.Base/Controllers/GameStarter.cs b/project/SPT.Launcher.Base/Controllers/GameStarter.cs index e700593..2853616 100644 --- a/project/SPT.Launcher.Base/Controllers/GameStarter.cs +++ b/project/SPT.Launcher.Base/Controllers/GameStarter.cs @@ -319,7 +319,7 @@ namespace SPT.Launcher /// returns true if the temp folder was cleaned succefully or doesn't exist. returns false if something went wrong. 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) {