We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ad25b commit 9967650Copy full SHA for 9967650
xivModdingFramework/Cache/ConsoleConfig.cs
@@ -3,6 +3,7 @@
3
using System.IO;
4
using System.Threading.Tasks;
5
using xivModdingFramework.General.Enums;
6
+using xivModdingFramework.Helpers;
7
8
namespace xivModdingFramework.Cache
9
{
@@ -80,6 +81,10 @@ public static async Task InitCacheFromConfig(bool runWorker = false)
80
81
throw new ArgumentException("Console Config file does not have a valid FFXIV File path configured.");
82
}
83
await XivCache.SetGameInfo(new DirectoryInfo(c.XivPath), c.XivLanguage, runWorker);
84
+
85
+ // Set a unique temp path.
86
+ var tempDir = IOUtil.GetUniqueSubfolder(Path.GetTempPath(), "xivct");
87
+ XivCache.FrameworkSettings.TempDirectory = tempDir;
88
89
90
0 commit comments