Skip to content

wails3 mac构建windows .exe项目 #4275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
f1748x opened this issue May 13, 2025 · 0 comments
Open

wails3 mac构建windows .exe项目 #4275

f1748x opened this issue May 13, 2025 · 0 comments
Labels
Bug Something isn't working

Comments

@f1748x
Copy link

f1748x commented May 13, 2025

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

@f1748x f1748x added the Bug Something isn't working label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant