Ejemplo n.º 1
0
        public HomeController(IHostingEnvironment env)
        {
            clientOrganisation = new ClientOrganisation();

            utils    = new Utils();
            this.env = env;
        }
Ejemplo n.º 2
0
 public IActionResult BuildAndroid(ClientOrganisation selected)
 {
     //Brand or Company name
     utils.writeCompanyName(selected.company);
     //update or New app
     utils.modifyGradleBuild(selected.update, selected.company);
     //Selected Icon
     utils.selectLogo(selected.selectIcon, env);
     //select the layout
     utils.selectLayout(selected.layoutmodel, env);
     //Enable or disable features
     utils.writeToFile(selected.features);
     //Build Android
     utils.triggerBuild();
     return(RedirectToAction("BuildDone"));
 }