mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Don't download executables when pulling down existing assets.
This commit is contained in:
@ -283,6 +283,8 @@ namespace osu.Desktop.Deploy
|
|||||||
|
|
||||||
foreach (var a in assets)
|
foreach (var a in assets)
|
||||||
{
|
{
|
||||||
|
if (a.Name.EndsWith(".exe")) continue;
|
||||||
|
|
||||||
write($"- Downloading {a.Name}...", ConsoleColor.Yellow);
|
write($"- Downloading {a.Name}...", ConsoleColor.Yellow);
|
||||||
new FileWebRequest(Path.Combine(ReleasesFolder, a.Name), $"{GitHubApiEndpoint}/assets/{a.Id}").AuthenticatedBlockingPerform();
|
new FileWebRequest(Path.Combine(ReleasesFolder, a.Name), $"{GitHubApiEndpoint}/assets/{a.Id}").AuthenticatedBlockingPerform();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user