mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-24 12:19:27 +01:00
even more err handling lol
This commit is contained in:
@@ -144,7 +144,7 @@ namespace Flowframes.IO
|
||||
string jsonPath = Path.Combine(mdlDir, "files.json");
|
||||
List<ModelFile> modelFiles = GetModelFilesFromJson(File.ReadAllText(jsonPath));
|
||||
|
||||
if (IOUtils.GetFilesize(jsonPath) < 32)
|
||||
if (!File.Exists(jsonPath) || IOUtils.GetFilesize(jsonPath) < 32)
|
||||
{
|
||||
Interpolate.Cancel($"Error: Failed to download index file. Please try again.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user