mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-07-01 04:20:19 +12:00
Create directories if they don't exist on OneClick Installs
This commit is contained in:
parent
733d4c5609
commit
02040a17f9
|
@ -92,6 +92,7 @@ namespace ModAssistant
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Directory.CreateDirectory(Path.Combine(BeatSaberPath, folder));
|
||||||
if (String.IsNullOrEmpty(fileName))
|
if (String.IsNullOrEmpty(fileName))
|
||||||
fileName = WebUtility.UrlDecode(Path.Combine(BeatSaberPath, folder, new Uri(link).Segments.Last()));
|
fileName = WebUtility.UrlDecode(Path.Combine(BeatSaberPath, folder, new Uri(link).Segments.Last()));
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue