public ProjectGenerator(string targetDirectory, HoloJsProjectType projectType = HoloJsProjectType.ThreeJs)
 {
     ProjectName = Path.GetFileName(targetDirectory);
     projectType = ProjectType;
     ProjectPath = targetDirectory;
     AppPackage  = XrsPackage.CreateNew(XrsFilePath);
 }
Exemplo n.º 2
0
        public static XrsPackage CreateNew(string appJson)
        {
            var returnValue = new XrsPackage();

            returnValue.AppPath = Path.GetFullPath(appJson);

            return(returnValue);
        }