- fix: creating file if not exist
This commit is contained in:
@@ -22,6 +22,10 @@ public class FileService
|
|||||||
public FileService(DebugService debugService)
|
public FileService(DebugService debugService)
|
||||||
{
|
{
|
||||||
_debugService = debugService;
|
_debugService = debugService;
|
||||||
|
|
||||||
|
if(!Directory.Exists(RootPath))
|
||||||
|
Directory.CreateDirectory(RootPath);
|
||||||
|
|
||||||
ContentFileApi = CreateFileApi("content");
|
ContentFileApi = CreateFileApi("content");
|
||||||
EngineFileApi = CreateFileApi("engine");
|
EngineFileApi = CreateFileApi("engine");
|
||||||
ManifestFileApi = CreateFileApi("manifest");
|
ManifestFileApi = CreateFileApi("manifest");
|
||||||
|
|||||||
Reference in New Issue
Block a user