mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-13 02:30:43 -05:00
Merge pull request 'update temp files path' (!60) from waffle.lord/Launcher:fix/clear-temp-files into master
Reviewed-on: SPT/Launcher#60
This commit is contained in:
commit
e1680cc1c1
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user