feat: collects metadata for platform versions now

This commit is contained in:
Michael Green
2023-04-10 01:01:23 +10:00
parent 36616caf7b
commit fb7b0a7eb2
3 changed files with 247 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ namespace gaseous_server.Classes.Metadata
{
using (var s = client.GetStreamAsync("https:" + logo_result.Url))
{
if (!Directory.Exists(Path.GetDirectoryName(LogoPath))) { Directory.CreateDirectory(Path.GetDirectoryName(LogoPath)); }
using (var fs = new FileStream(LogoPath, FileMode.OpenOrCreate))
{
s.Result.CopyTo(fs);