mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-09-30 09:06:15 +13:00
Create directories if they don't exist on OneClick Installs
This commit is contained in:
parent
733d4c5609
commit
02040a17f9
1 changed files with 1 additions and 0 deletions
|
@ -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