-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Description
when creating template using wails3 generate template and then creating project using the generated template with wails3 init it failed with error
Wails (v3.0.0-alpha.43) Init project
Creating project
----------------
Project Name | generated
Project Directory | C:\Users\tzero\Project\wails3-template-sandbox\generated
Template | template
Template Source |
Template Version | v0.0.1
ERROR template: app_manifest.xml.tmpl:10:17: executing "app_manifest.xml.tmpl" at <.Publisher>: can't evaluate field Publisher in type struct { templates.TemplateOptions; Dir string; Name string; BinaryName string; ProductName string; ProductDescription string; ProductVersion string; ProductCompany string; ProductCopyright string; ProductComments string; ProductIdentifier string; Silent bool; Typescript bool }
To Reproduce
- Create template with
wails3 generate template -name template - Generate using the template with
wails3 init -n generated -t ./template
Expected behaviour
The project created with no issues using the generated template
Screenshots
No response
Attempted Fixes
I only found this discord post
https://discord.com/channels/1042734330029547630/1394533856945766483/1394533856945766483
System Details
zsh> wails3 doctor
Wails (v3.0.0-alpha.43) Wails Doctor
# System
┌───────────────────────────────────────────────────────────────────────────────────────────────┐
| Name | Windows 10 Pro |
| Version | 2009 (Build: 26200) |
| ID | 25H2 |
| Branding | Windows 11 Pro |
| Platform | windows |
| Architecture | amd64 |
| Go WebView2Loader | true |
| WebView2 Version | 143.0.3650.80 |
| CPU | 12th Gen Intel(R) Core(TM) i7-1260P |
| GPU 1 | Intel(R) Iris(R) Xe Graphics (Intel Corporation) - Driver: 31.0.101.4255 |
| GPU 2 | NVIDIA GeForce RTX 2050 (NVIDIA) - Driver: 32.0.15.7283 |
| Memory | 16GB |
└───────────────────────────────────────────────────────────────────────────────────────────────┘
# Build Environment
┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Wails CLI | v3.0.0-alpha.43 |
| Go Version | go1.25.1 |
| -buildmode | exe |
| -compiler | gc |
| CGO_CFLAGS | |
| CGO_CPPFLAGS | |
| CGO_CXXFLAGS | |
| CGO_ENABLED | 1 |
| CGO_LDFLAGS | |
| DefaultGODEBUG | containermaxprocs=0,decoratemappings=0,tlssha1=1,updatemaxprocs=0,x509sha256skid=0 |
| GOAMD64 | v1 |
| GOARCH | amd64 |
| GOOS | windows |
└─────────────────────────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌─────────────────────────────────────────────────────────────────────────────────────────┐
| npm | 11.6.4 |
| NSIS | Not Installed |
| MakeAppx.exe (Windows SDK) | Not Installed |
| MSIX Packaging Tool | Not Installed |
| SignTool.exe (Windows SDK) | Not Installed |
| docker | *Docker version 29.1.2, build 890dcca (daemon not running) |
| |
└──────────────────────────────── * - Optional Dependency ────────────────────────────────┘
# Checking for issues
SUCCESS No issues found
# Diagnosis
SUCCESS Your system is ready for Wails development!
Need documentation? Run: wails3 docs
♥ If Wails is useful to you or your company, please consider sponsoring the project: wails3 sponsorAdditional context
No response
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working