Files
2021-12-06 11:05:37 +08:00

28 lines
973 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 前沿风险技术
## 概述
Wails 一直在开发中,新版本会定期“标记”。这通常发生在`master`分支上所有较新的代码都经过测试并确认有效时。如果您需要尚未发布的错误修复或功能,可以通过以下步骤使用最新的“前沿风险”版本:
- `git clone https://github.com/wailsapp/wails`
- `cd wails/v2/cmd/wails`
- `go install`
注意您将项目克隆到的目录现在将被称为“clonedir”。
Wails CLI 现在将是最新版本。要更新项目以使用最新版本,请更新项目并确保以下行位于`go.mod`文件底部:
`replace github.com/wailsapp/wails/v2 => <clonedir>`
示例:
在 Windows 上:
`replace github.com/wailsapp/wails/v2 => C:\Users\leaan\Documents\wails-v2-beta\wails\v2`
在'nix 上:
`replace github.com/wailsapp/wails/v2 => /home/me/projects/wails/v2`
要恢复到稳定版本,请运行:
`go install github.com/wailsapp/wails/v2/cmd/wails@latest`