mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 19:31:20 +08:00
Merge pull request #21 from wailsapp/Fix-npm-project-name
Fix npm package name
This commit is contained in:
commit
c823215eb6
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user