mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 06:20:48 +08:00
Fix npm package name
This commit is contained in:
parent
8a3aec6866
commit
93f890f6d9
@ -249,7 +249,7 @@ func (po *ProjectOptions) PromptForInputs() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Setup NPM Project name
|
// 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 we selected custom, prompt for framework
|
||||||
if po.Template == "custom - Choose your own CSS Framework" {
|
if po.Template == "custom - Choose your own CSS Framework" {
|
||||||
|
Loading…
Reference in New Issue
Block a user