Merge branch 'v0.13.0-pre' of github.com:wailsapp/wails into v0.13.0-pre

This commit is contained in:
Lea Anthony 2019-05-12 13:00:55 +10:00
commit c6bfa85a1a

View file

@ -107,6 +107,7 @@ func (t *TemplateHelper) InstallTemplate(projectPath string, projectOptions *Pro
templateJSONFilename := filepath.Join(templatePath, "template.json")
templateFiles := templateFilenames.Filter(func(filename string) bool {
filename = filepath.FromSlash(filename)
return strings.HasPrefix(filename, templatePath) && filename != templateJSONFilename
})