Merge pull request #8 from theholyone/hotfix/MA-5-BeatSaver-OneClickInstaller-Uri-fix

MA-5 #comment set BeatSaver Uri from Segments to Host.
This commit is contained in:
Assistant 2019-05-22 15:23:37 -04:00 committed by GitHub
commit e7fc125cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ namespace ModAssistant
private static void BeatSaver(Uri uri)
{
string ID = uri.Segments.Last<string>();
string ID = uri.Host;
DownloadAsset(BeatSaverURLPrefix + ID, CustomSongsFolder, ID + ".zip");
string directory = Path.Combine(BeatSaberPath, CustomSongsFolder, ID);