- fix: creating file if not exist
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user