We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我用wails写了一个简单的测试软件,当我运行wails dev时可以正常运行,但是当我wails build后,无论是在Windows环境下还是macOS环境下,打开生成的可执行文件时均是闪退,任务栏一闪而过。
示例代码: https://github.com/trouvaille2023/dstoolbox
git clone https://github.com/trouvaille2023/dstoolbox
wails build
如何解决这个问题,以便能正常运行
No response
# Wails Version | v2.9.2 # System ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | OS | MacOS | | Version | 15.2 | | ID | 24C101 | | Go Version | go1.23.5 | | Platform | darwin | | Architecture | amd64 | | CPU | Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz | | GPU | Chipset Model: Intel UHD Graphics 630 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel Device ID: 0x3e9b Revision ID: 0x0002 Automatic Graphics Switching: Supported gMux Version: 5.0.0 Metal Support: Metal 3 | | Memory | 16GB | └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ # Dependencies ┌────────────────────────────────────────────────────────────────────────┐ | Dependency | Package Name | Status | Version | | Xcode command line tools | N/A | Installed | 2409 | | Nodejs | N/A | Installed | 20.5.0 | | npm | N/A | Installed | 9.8.0 | | *Xcode | N/A | Installed | 16.0 (16A5230g) | | *upx | N/A | Available | | | *nsis | N/A | Installed | v3.10 | └─────────────────────── * - Optional Dependency ────────────────────────┘ # Diagnosis Optional package(s) installation details: - upx : Available at https://upx.github.io/ SUCCESS Your system is ready for Wails development! ♥ If Wails is useful to you or your company, please consider sponsoring the project: https://github.com/sponsors/leaanthony
The text was updated successfully, but these errors were encountered:
感谢使用Wails!开发环境和构建环境的差异问题确实难以诊断,但通常这与环境配置或构建过程有关,而不是框架本身的bug。让我们一起找出问题的根源。
为了帮助我们有效地调查这个问题,请提供以下信息:
创建一个能演示问题的最小项目:
wails build -v 2
在重新提交之前,请提供以下步骤的详细信息:
清理项目:
go clean -cache -modcache
node_modules
比较环境:
测试边缘情况:
提供的信息越详细,我们就能提供越好的帮助。这些信息将帮助确定问题是环境特定的、配置相关的,还是可能的框架bug。
感谢您的耐心配合,帮助我们让Wails变得更好!
Sorry, something went wrong.
No branches or pull requests
Description
我用wails写了一个简单的测试软件,当我运行wails dev时可以正常运行,但是当我wails build后,无论是在Windows环境下还是macOS环境下,打开生成的可执行文件时均是闪退,任务栏一闪而过。
示例代码:
https://github.com/trouvaille2023/dstoolbox
To Reproduce
git clone https://github.com/trouvaille2023/dstoolbox
wails build
Expected behaviour
如何解决这个问题,以便能正常运行
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: