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

Fix missing flatbuffer directory.

This commit is contained in:
KillzXGaming 2019-12-11 17:09:35 -05:00
parent 05fd417158
commit 217f53a148

View File

@ -128,6 +128,9 @@ namespace Toolbox.Library.IO
private static string GenerateBinFrom<T>(T obj, string fbs)
{
if (!Directory.Exists(FlatPath))
Directory.CreateDirectory(FlatPath);
var fbsName = fbs + ".fbs";
var jsonName = fbs + ".json";
var text = WriteJson(obj);