mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-21 12:53:18 +12:00
parent
6b4450156e
commit
b9e58c0b8c
|
@ -2,6 +2,7 @@ using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Web;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using static ModAssistant.Http;
|
using static ModAssistant.Http;
|
||||||
|
|
||||||
|
@ -33,7 +34,7 @@ namespace ModAssistant.API
|
||||||
|
|
||||||
public static async Task<string> Get(Uri url)
|
public static async Task<string> Get(Uri url)
|
||||||
{
|
{
|
||||||
string filename = url.Segments.Last();
|
string filename = HttpUtility.UrlDecode(url.Segments.Last());
|
||||||
string absolutePath = Path.Combine(BeatSaberPath, PlaylistsFolder, filename);
|
string absolutePath = Path.Combine(BeatSaberPath, PlaylistsFolder, filename);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue