1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Check for github release assets to prevent index issue

This commit is contained in:
KillzXGaming 2019-12-11 19:13:25 -05:00
parent 08cfbd99c9
commit 114de9ba8a
2 changed files with 3 additions and 4 deletions

View File

@ -131,13 +131,9 @@ namespace Toolbox.Library
file.SaveFileFormat();
if (file.FileDataStream != null)
{
file.FileDataStream.ExportToFile(path);
}
else
{
File.WriteAllBytes($"{path}", file.FileData);
}
}
}

View File

@ -32,6 +32,9 @@ namespace Toolbox
foreach (Release latest in Releases)
{
if (latest.Assets?.Count == 0)
continue;
Console.WriteLine(
"The latest release is tagged at {0} and is named {1} commit {2} date {3}",
latest.TagName,