- fix: creating file if not exist

This commit is contained in:
2025-03-15 22:31:31 +03:00
parent 45e10f83e4
commit b76481bac9

View File

@@ -22,6 +22,10 @@ public class FileService
public FileService(DebugService debugService)
{
_debugService = debugService;
if(!Directory.Exists(RootPath))
Directory.CreateDirectory(RootPath);
ContentFileApi = CreateFileApi("content");
EngineFileApi = CreateFileApi("engine");
ManifestFileApi = CreateFileApi("manifest");