mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-21 12:53:18 +12:00
Fixed playlist not being copied
This commit is contained in:
parent
a9559d8cb2
commit
70e8116611
|
@ -43,6 +43,12 @@ namespace ModAssistant.API
|
|||
|
||||
public static async Task DownloadFrom(string file, bool gui = false, System.Windows.Controls.ProgressBar progress = null)
|
||||
{
|
||||
if (Path.Combine(BeatSaberPath, PlaylistsFolder) != Path.GetDirectoryName(file))
|
||||
{
|
||||
string destination = Path.Combine(BeatSaberPath, PlaylistsFolder, Path.GetFileName(file));
|
||||
File.Copy(file, destination, true);
|
||||
}
|
||||
|
||||
int Errors = 0;
|
||||
int Minimum = 0;
|
||||
int Value = 0;
|
||||
|
|
Loading…
Reference in a new issue