5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 17:52:29 +08:00

Fix npm package name

This commit is contained in:
Lea Anthony 2019-01-13 18:02:51 +11:00
parent 8a3aec6866
commit 93f890f6d9

View File

@ -249,7 +249,7 @@ func (po *ProjectOptions) PromptForInputs() error {
}
// Setup NPM Project name
po.NPMProjectName = strings.Replace(po.Name, " ", "_", -1)
po.NPMProjectName = strings.ToLower(strings.Replace(po.Name, " ", "_", -1))
// If we selected custom, prompt for framework
if po.Template == "custom - Choose your own CSS Framework" {