diff --git a/SPTInstaller/Helpers/DownloadCacheHelper.cs b/SPTInstaller/Helpers/DownloadCacheHelper.cs
index a11a055..819d719 100644
--- a/SPTInstaller/Helpers/DownloadCacheHelper.cs
+++ b/SPTInstaller/Helpers/DownloadCacheHelper.cs
@@ -72,6 +72,7 @@ public static class DownloadCacheHelper
/// If the file exists, it is deleted before downloading
public static async Task DownloadFileAsync(string outputFileName, string targetLink, IProgress progress)
{
+ Directory.CreateDirectory(CachePath);
var outputFile = new FileInfo(Path.Join(CachePath, outputFileName));
try
@@ -109,6 +110,7 @@ public static class DownloadCacheHelper
/// If the file exists, it is deleted before downloading
public static async Task DownloadFileAsync(string outputFileName, Stream downloadStream)
{
+ Directory.CreateDirectory(CachePath);
var outputFile = new FileInfo(Path.Join(CachePath, outputFileName));
try
diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj
index 0951158..c997265 100644
--- a/SPTInstaller/SPTInstaller.csproj
+++ b/SPTInstaller/SPTInstaller.csproj
@@ -9,8 +9,8 @@
icon.ico
Assets\icon.ico
Debug;Release;TEST
- 2.14
- 2.14
+ 2.15
+ 2.15