wails
wails copied to clipboard
wails3 mac构建windows .exe项目
Description
执行命令:
wails3 task windows:package
错误:
Can't open script "project.nsi"
ERROR task: Failed to run task "windows:package": exit status 1
请问有没有详细的wails3 打包windows的教程或者资料
To Reproduce
1.wails3 task windows:package 出错如下:
Command line defined: "ARG_WAILS_ARM64_BINARY=/Users/thomas/develop/go_item/src/task_video\bin\task_video.exe"
Can't open script "project.nsi"
ERROR task: Failed to run task "windows:package": exit status 1
Expected behaviour
/
Screenshots
No response
Attempted Fixes
No response
System Details
Wails Doctor
# Wails
Version | v2.10.1
# System
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS | MacOS |
| Version | 15.2 |
| ID | 24C101 |
| Go Version | go1.23.0 |
| Platform | darwin |
| Architecture | arm64 |
| CPU 1 | Apple M1 |
| CPU 2 | Apple M1 |
| GPU | Chipset Model: Apple M1 Type: GPU Bus: Built-In Total Number of Cores: 8 Vendor: Apple (0x106b) Metal Support: Metal 3 |
| Memory | 16GB |
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌────────────────────────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| Xcode command line tools | N/A | Installed | 2409 |
| Nodejs | N/A | Installed | 18.20.3 |
| npm | N/A | Installed | 10.7.0 |
| *Xcode | N/A | Installed | 16.2 (16C5032a) |
| *upx | N/A | Available | |
| *nsis | N/A | Installed | v3.11 |
| |
└─────────────────────── * - Optional Dependency ────────────────────────┘
# Diagnosis
Optional package(s) installation details:
- upx : Available at https://upx.github.io/
Additional context
No response