public ProjectGenerator(string targetDirectory, HoloJsProjectType projectType = HoloJsProjectType.ThreeJs) { ProjectName = Path.GetFileName(targetDirectory); projectType = ProjectType; ProjectPath = targetDirectory; AppPackage = XrsPackage.CreateNew(XrsFilePath); }
public static XrsPackage CreateNew(string appJson) { var returnValue = new XrsPackage(); returnValue.AppPath = Path.GetFullPath(appJson); return(returnValue); }