mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-21 21:03:44 +12:00
Check if Playlists folder exists before downloading
strings 3head
This commit is contained in:
parent
2d53be9009
commit
c170d91d26
|
@ -12,6 +12,13 @@ namespace ModAssistant.API
|
|||
private const string BSaberURLPrefix = "https://bsaber.com/PlaylistAPI/";
|
||||
private const string PlaylistsFolder = "Playlists";
|
||||
private static readonly string BeatSaberPath = Utils.BeatSaberPath;
|
||||
|
||||
string root = App.BeatSaberInstallDirectory;
|
||||
string subdir = PlaylistsFolder;
|
||||
if (!Directory.Exists(subdir))
|
||||
{
|
||||
Directory.CreateDirectory(subdir);
|
||||
}
|
||||
|
||||
public static async Task DownloadAll(Uri uri)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue