diff --git a/cmd/project.go b/cmd/project.go index f007a6ce..eef9856a 100644 --- a/cmd/project.go +++ b/cmd/project.go @@ -203,6 +203,8 @@ func (po *ProjectOptions) PromptForInputs() error { po.selectedTemplate = templateList.AsSlice()[templateIndex].(*TemplateDetails) } + fmt.Println("Template: " + po.selectedTemplate.Metadata.Name) + // Setup NPM Project name po.NPMProjectName = strings.ToLower(strings.Replace(po.Name, " ", "_", -1)) @@ -282,7 +284,6 @@ func processProjectName(po *ProjectOptions) { po.Name = Prompt("The name of the project", "My Project") } fmt.Println("Project Name: " + po.Name) - } func processBinaryName(po *ProjectOptions) { diff --git a/cmd/templates.go b/cmd/templates.go index 829d3680..f82fc8be 100644 --- a/cmd/templates.go +++ b/cmd/templates.go @@ -3,7 +3,6 @@ package cmd import ( "bytes" "encoding/json" - "fmt" "io/ioutil" "log" "path/filepath" @@ -79,14 +78,10 @@ func (t *TemplateHelper) GetTemplateDetails() (map[string]*TemplateDetails, erro // Get the subdirectory details templateDirs, err := t.templateDir.GetSubdirs() - - // templateDirs, err := t.fs.GetSubdirs(t.templateDir) if err != nil { return nil, err } - fmt.Printf("%+v\n", templateDirs) - result := make(map[string]*TemplateDetails) for name, dir := range templateDirs { diff --git a/cmd/version.go b/cmd/version.go index 1bf013fe..25faef0b 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -1,4 +1,4 @@ package cmd // Version - Wails version -const Version = "v0.14.0-pre" +const Version = "v0.14.4-pre"