Create directories if they don't exist on OneClick Installs

This commit is contained in:
Assistant 2019-05-25 16:19:47 -04:00
parent 733d4c5609
commit 02040a17f9

View file

@ -92,6 +92,7 @@ namespace ModAssistant
}
try
{
Directory.CreateDirectory(Path.Combine(BeatSaberPath, folder));
if (String.IsNullOrEmpty(fileName))
fileName = WebUtility.UrlDecode(Path.Combine(BeatSaberPath, folder, new Uri(link).Segments.Last()));
else