1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:12:56 +08:00

Don't download executables when pulling down existing assets.

This commit is contained in:
Dean Herbert 2017-03-14 20:23:37 +09:00
parent c192de9ebd
commit 1699c9fb1d
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -283,6 +283,8 @@ namespace osu.Desktop.Deploy
foreach (var a in assets)
{
if (a.Name.EndsWith(".exe")) continue;
write($"- Downloading {a.Name}...", ConsoleColor.Yellow);
new FileWebRequest(Path.Combine(ReleasesFolder, a.Name), $"{GitHubApiEndpoint}/assets/{a.Id}").AuthenticatedBlockingPerform();
}