+
+**[EncryptEasy](https://www.encrypteasy.app) is a simple and easy to use PGP encryption tool, managing all your and your contacts keys. Encryption should be simple. Developed with Wails.**
+
+Encrypting messages using PGP is the industry standard. Everyone has a private and a public key. Your private key, well, needs to be kept private so only you can read messages. Your public key is distributed to anyone who wants to send you secret, encrypted messages. Managing keys, encrypting messages and decrypting messages should be a smooth experience. EncryptEasy is all about making it easy.
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/filehound.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/filehound.mdx
new file mode 100644
index 000000000..687be3870
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/filehound.mdx
@@ -0,0 +1,23 @@
+
+# FileHound Export Utility
+
+
+
+
+
+
+[FileHound Export Utility](https://www.filehound.co.uk/) FileHound is a cloud document management platform made for secure file retention, business process automation and SmartCapture capabilities.
+
+The FileHound Export Utility allows FileHound Administrators the ability to run a secure document and data extraction tasks for alternative back-up and recovery purposes. This application will download all documents and/or meta data saved in FileHound based on the filters you choose. The metadata will be exported in both JSON and XML formats.
+
+Backend built with:
+Go 1.15
+Wails 1.11.0
+go-sqlite3 1.14.6
+go-linq 3.2
+
+Frontend with:
+Vue 2.6.11
+Vuex 3.4.0
+Typescript
+Tailwind 1.9.6
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/mollywallet.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/mollywallet.mdx
new file mode 100644
index 000000000..6c05ac426
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/mollywallet.mdx
@@ -0,0 +1,9 @@
+
+# Molly Wallet
+
+
+
+
+
+[Molly Wallet](https://github.com/grvlle/constellation_wallet/) the official $DAG wallet of the Constellation Network. It'll let users interact with the Hypergraph Network in various ways, not limited to producing $DAG transactions.
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/optimus.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/optimus.mdx
new file mode 100644
index 000000000..36cbf2fdf
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/optimus.mdx
@@ -0,0 +1,9 @@
+
+# Optimus
+
+
+
+
+
+[Optimus](https://github.com/splode/optimus) is a desktop image optimization application. It supports conversion and compression between WebP, JPEG, and PNG image formats.
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/portfall.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/portfall.mdx
new file mode 100644
index 000000000..211009424
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/portfall.mdx
@@ -0,0 +1,9 @@
+
+# Portfall
+
+
+
+
+
+[Portfall](https://github.com/rekon-oss/portfall) - A desktop k8s port-forwarding portal for easy access to all your cluster UIs
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/riftshare.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/riftshare.mdx
new file mode 100644
index 000000000..59680bdb3
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/riftshare.mdx
@@ -0,0 +1,19 @@
+
+# RiftShare
+
+
+
+
+
+Easy, Secure, and Free file sharing for everyone. Learn more at [Riftshare.app](https://riftshare.app)
+
+## Features
+
+* Easy secure file sharing between computers both in the local network and through the internet
+* Supports sending files or directories securely through the [magic wormhole protocol](https://magic-wormhole.readthedocs.io/en/latest/)
+* Compatible with all other apps using magic wormhole (magic-wormhole or wormhole-william CLI, wormhole-gui, etc.)
+* Automatic zipping of multiple selected files to send at once
+* Full animations, progress bar, and cancellation support for sending and receiving
+* Native OS File Selection
+* Open files in one click once received
+* Auto Update - don't worry about having the latest release!
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/surge.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/surge.mdx
new file mode 100644
index 000000000..774e86e70
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/surge.mdx
@@ -0,0 +1,9 @@
+
+# Surge
+
+
+
+
+
+[Surge](https://surge.rule110.io/) is a p2p filesharing app designed to utilize blockchain technologies to enable 100% anonymous file transfers. Surge is end-to-end encrypted, decentralized and open source.
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/wally.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/wally.mdx
new file mode 100644
index 000000000..3e842af40
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/wally.mdx
@@ -0,0 +1,9 @@
+
+# Wally
+
+
+
+
+
+[Wally](https://ergodox-ez.com/pages/wally) is the official firmware flasher for [Ergodox](https://ergodox-ez.com/) keyboards. It looks great and is a fantastic example of what you can achieve with Wails: the ability to combine the power of Go and the rich graphical tools of the web development world.
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/wombat.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/wombat.mdx
new file mode 100644
index 000000000..8fdbe7cd8
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/wombat.mdx
@@ -0,0 +1,10 @@
+
+# Wombat
+
+
+
+
+
+
+[Wombat](https://github.com/rogchap/wombat) is a cross platform gRPC client.
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/ytd.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/ytd.mdx
new file mode 100644
index 000000000..7ccd32e26
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/showcase/ytd.mdx
@@ -0,0 +1,10 @@
+
+# Ytd
+
+
+
+
+
+
+[Ytd](https://github.com/marcio199226/ytd/tree/v2-wails) is an app for downloading tracks from youtube, creating offline playlists and share them with your friends, your friends will be able to playback your playlists or download them for offline listening, has an built-in player.
+
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/templates.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/templates.mdx
new file mode 100644
index 000000000..c88e944aa
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/community/templates.mdx
@@ -0,0 +1,42 @@
+---
+sidebar_position: 1
+---
+
+# 模板
+
+此页面用作社区支持的模板列表。请提交一个包含您的模板的 PR(点击页面底部的`编辑此页`)。要构建您自己的模板,请参考[模板](../guides/templates)指南。
+
+要使用这些模板,请运行 `wails init -n "您的项目名" -t [下面的链接[@版本]]`
+
+如果不带版本后缀,默认使用的是主分支代码模板,如果带有版本后缀,则使用该版本对应标签的代码模板。
+
+示例:`wails init -n "Your Project Name" -t https://github.com/misitebao/wails-template-vue@v2.0.0-beta.3`
+
+:::warning 注意
+
+**Wails 项目不维护也不对第 3 方模板负责**
+
+如果您不确定某个模板,请检查 `package.json`和`wails.json` 中安装的模块和运行的脚本。
+
+:::
+
+## Vue
+
+- [wails-template-vue](https://github.com/misitebao/wails-template-vue) - 基于 Vite、Vue 和 Vue-Router 的 Wails 模板(同时支持 JavaScript 和 TypeScript)
+- [wails-vite-vue-ts](https://github.com/codydbentley/wails-vite-vue-ts) - 使用 Vite 的 Vue 3 TypeScript(以及添加功能的说明)
+- [wails-vite-vue-the-works](https://github.com/codydbentley/wails-vite-vue-the-works) - 使用 Vite, Vuex, Vue Router, Sass, 和 ESLint + Prettier 的 Vue 3 TypeScript
+
+## Angular
+
+- [wails-angular-template](https://github.com/TAINCER/wails-angular-template) - 带有 TypeScript, Sass, 热重载, 代码拆分和 i18n 的 Angular
+
+## React
+
+- [wails-react-template](https://github.com/AlienRecall/wails-react-template) - 基于 reactjs 的模板
+- [wails-react-template](https://github.com/flin7/wails-react-template) - 基于 React 并支持实时开发模式的轻量级模板
+
+## Svelte
+
+- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - 基于 Svelte 的模板
+- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - 使用 Svelte 和 Vite 的模板
+- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - 使用 Svelte 和 Vite 和 TailwindCSS v3 的模板
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/credits.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/credits.mdx
new file mode 100644
index 000000000..11b2b7838
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/credits.mdx
@@ -0,0 +1,133 @@
+---
+sidebar_position: 99
+---
+
+# 荣誉墙
+
+- [Lea Anthony](https://github.com/leaanthony) - 项目所有者,首席开发人员
+- [Misitebao](https://github.com/misitebao) - 中文文档,Windows 平台测试,漏洞发现者
+- [Travis McLane](https://github.com/tmclane) - 处理交叉编译相关工作, MacOS 平台的测试
+- [Byron Chris](https://github.com/bh90210) - Linux 发行版指导,Linux 平台的测试
+
+## 赞助商
+
+
+
+
+
+
+#### Mac
+
+Mac 对话框只有一组模式来过滤文件的概念。如果提供了多个 FileFilters,Wails 将使用所有定义的模式。
+
+示例:
+
+```go
+ selection, err := runtime.OpenFileDialog(b.ctx, runtime.OpenDialogOptions{
+ Title: "Select File",
+ Filters: []runtime.FileFilter{
+ {
+ DisplayName: "Images (*.png;*.jpg)",
+ Pattern: "*.png;*.jpg",
+ }, {
+ DisplayName: "Videos (*.mov;*.mp4)",
+ Pattern: "*.mov;*.mp4",
+ },
+ },
+ })
+```
+
+这将导致使用`*.png,*.jpg,*.mov,*.mp4`作为过滤器打开文件对话框。
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/events.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/events.mdx
new file mode 100644
index 000000000..d93a2c42a
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/events.mdx
@@ -0,0 +1,50 @@
+---
+title: 事件
+sidebar_position: 2
+---
+
+# 事件
+
+## 概述
+
+Wails 运行时提供了一个统一的事件系统,其中事件可以由 Go 或 Javascript 发出或接收。可选地,数据可以与事件一起传递。侦听器将接收本地数据类型中的数据。
+
+### 添加事件侦听器
+
+Go 方法签名: `EventsOn(ctx context.Context, eventName string, callback func(optionalData ...interface{}))`
+
+JS 方法签名: `EventsOn(eventName string, callback function(optionalData?: any))`
+
+此方法为给定的事件名称设置一个侦听器。当一个`eventName`类型的事件被[触发指定事件](#触发指定事件)时,回调被触发。与触发事件一起发送的任何其他数据都将传递给回调。
+
+### 移除事件侦听器
+
+Go 方法签名: `EventsOff(ctx context.Context, eventName string)`
+
+JS 方法签名: `EventsOff(eventName string)`
+
+此方法取消注册给定事件名称的侦听器。
+
+### 添加只触发一次的事件侦听器
+
+Go 方法签名: `EventsOnce(ctx context.Context, eventName string, callback func(optionalData ...interface{}))`
+
+JS 方法签名: `EventsOnce(eventName string, callback function(optionalData?: any))`
+
+此方法为给定的事件名称设置一个侦听器,但只会触发一次。
+
+### 添加指定对多触发次数的事件侦听器
+
+Go 方法签名: `EventsOnMultiple(ctx context.Context, eventName string, callback func(optionalData ...interface{}), counter int)`
+
+JS 方法签名: `EventsOnMultiple(eventName string, callback function(optionalData?: any), counter int)`
+
+此方法为给定的事件名称设置一个侦听器,但最多只能触发`counter`次。
+
+### 触发指定事件
+
+Go 方法签名: `EventsEmit(ctx context.Context, eventName string, optionalData ...interface{})`
+
+JS 方法签名: `EventsEmit(ctx context, optionalData function(optionalData?: any))`
+
+此方法触发指定的事件。可选数据可以与事件一起传递。这将触发任何事件侦听器。
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx
new file mode 100644
index 000000000..18de6ed93
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx
@@ -0,0 +1,38 @@
+---
+title: 介绍
+sidebar_position: 1
+---
+
+# 介绍
+
+运行时是一个为应用程序提供实用方法的库。有 Go 和 Javascript 运行时,目的是在可能的情况下尝试使它们保持一致。
+
+Go 运行时可通过导入`github.com/wailsapp/wails/v2/pkg/runtime`. 此包中的所有方法都将 context 作为第一个参数。这个 context 可以从[应用启动回调](../../reference/options#应用启动回调) 或[前端 Dom 加载完成回调](../../reference/options#前端-dom-加载完成回调)回调中获得。
+
+:::info 注意
+
+虽然上下文将提供给[应用启动回调](../../reference/options#应用启动回调)方法,但不能保证运行时将在此方法中工作,因为窗口正在不同的线程中初始化。如果您希望在启动时调用运行时方法,请使用[前端 Dom 加载完成回调](../../reference/options#前端-dom-加载完成回调)方法。
+
+:::
+
+Javascript 库可通过`window.runtime`提供给前端。使用 `开发` 模式时会生成一个运行时包,该包为运行时提供 Typescript 声明。这应该位于您的前端目录中的`wailsjs`目录中。
+
+### 退出
+
+Go 方法签名: `Quit(ctx context.Context)`
+
+退出应用程序。
+
+### 环境
+
+Go 方法签名: `Enviromnent(ctx context.Context) EnvironmentInfo`
+
+返回当前环境的详细信息。
+
+#### 环境信息
+
+```go
+type EnvironmentInfo struct {
+ BuildType string // Either "production", "debug" or "dev"
+}
+```
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/log.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/log.mdx
new file mode 100644
index 000000000..72c646df0
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/log.mdx
@@ -0,0 +1,107 @@
+---
+title: 日志
+sidebar_position: 3
+---
+
+# 日志
+
+## 概述
+
+Wails 运行时提供了一种可以从 Go 或 Javascript 调用的日志记录机制。像大多数记录器一样,有许多日志级别:
+
+- Trace
+- Debug
+- Info
+- Warning
+- Error
+- Fatal
+
+记录器将输出当前或更高日志级别的任何日志消息。示例:`Debug`日志级别将输出除`Trace`消息之外的所有消息。
+
+### 打印日志
+
+Go 方法签名: `LogPrint(ctx context.Context, message string)`
+
+JS 方法签名: `LogPrint(message: string)`
+
+将给定的消息记录为原始消息。
+
+### Trace 日志
+
+Go 方法签名: `LogTrace(ctx context.Context, message string)`
+
+JS 方法签名: `LogTrace(message: string)`
+
+在`Trace`日志级别记录给定的消息。
+
+### Debug 日志
+
+Go 方法签名: `LogDebug(ctx context.Context, message string)`
+
+JS 方法签名: `LogDebug(message: string)`
+
+在`Debug`日志级别记录给定的消息。
+
+### Info 日志
+
+Go 方法签名: `LogInfo(ctx context.Context, message string)`
+
+JS 方法签名: `LogInfo(message: string)`
+
+在`Info`日志级别记录给定的消息。
+
+### Warning 日志
+
+Go 方法签名: `LogWarning(ctx context.Context, message string)`
+
+JS 方法签名: `LogWarning(message: string)`
+
+在`Warning`日志级别记录给定的消息。
+
+### Error 日志
+
+Go 方法签名: `LogError(ctx context.Context, message string)`
+
+JS 方法签名: `LogError(message: string)`
+
+在`Error`日志级别记录给定的消息。
+
+### Fatal 日志
+
+Go 方法签名: `LogFatal(ctx context.Context, message string)`
+
+JS 方法签名: `LogFatal(message: string)`
+
+在`Fatal`日志级别记录给定的消息。
+
+### 设置日志级别
+
+Go 方法签名: `LogSetLogLevel(ctx context.Context, level logger.LogLevel)`
+
+JS 方法签名: `LogSetLogLevel(level: number)`
+
+设置日志级别。在 Javascript 中,该数字与以下日志级别有关:
+
+| 值 | 日志等级 |
+| --- | -------- |
+| 1 | Trace |
+| 2 | Debug |
+| 3 | Info |
+| 4 | Warning |
+| 5 | Error |
+
+## 使用自定义日志
+
+可以通过使用应用程序参数选项 [日志](../../reference/options#日志) 提供自定义记录器来使用它。唯一的要求是记录器实现了在`github.com/wailsapp/wails/v2/pkg/logger`里`logger.Logger`定义的接口:
+
+```go title="logger.go"
+type Logger interface {
+ Print(message string)
+ Trace(message string)
+ Debug(message string)
+ Info(message string)
+ Warning(message string)
+ Error(message string)
+ Fatal(message string)
+}
+```
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx
new file mode 100644
index 000000000..b29b51ca0
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx
@@ -0,0 +1,28 @@
+---
+title: 菜单
+sidebar_position: 6
+---
+
+# 菜单
+
+## 概述
+
+这些方法与应用程序菜单相关。
+
+:::info Javascript
+
+JS 运行时当前不支持菜单。
+
+:::
+
+### 设置应用程序菜单
+
+Go 方法签名: `MenuSetApplicationMenu(ctx context.Context, menu *menu.Menu)`
+
+将应用程序菜单设置为给定的[应用菜单](../../reference/menus)。
+
+### 更新应用程序菜单
+
+Go 方法签名: `MenuUpdateApplicationMenu(ctx context.Context)`
+
+更新应用程序菜单,选取对传递给`MenuSetApplicationMenu`的菜单所做的任何更改。
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/window.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/window.mdx
new file mode 100644
index 000000000..d7588e315
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/reference/runtime/window.mdx
@@ -0,0 +1,194 @@
+---
+title: 窗口
+sidebar_position: 4
+---
+
+# 窗口
+
+## 概述
+
+这些方法可以控制应用程序窗口。
+
+### 窗口标题
+
+Go 方法签名: `WindowSetTitle(ctx context.Context, title string)`
+
+JS 方法签名: `WindowSetTitle(title: string)`
+
+设置窗口标题栏中的文本。
+
+### 窗口全屏
+
+Go 方法签名: `WindowFullscreen(ctx context.Context)`
+
+JS 方法签名: `WindowFullscreen()`
+
+使窗口全屏。
+
+### 窗口取消全屏
+
+Go 方法签名: `WindowUnfullscreen(ctx context.Context)`
+
+JS 方法签名: `WindowUnfullscreen()`
+
+在全屏之前恢复先前的窗口尺寸和位置。
+
+### 窗口居中
+
+Go 方法签名: `WindowCenter(ctx context.Context)`
+
+JS 方法签名: `WindowCenter()`
+
+使窗口在当前窗口所在的监视器上居中。
+
+### 窗口重新加载
+
+Go 方法签名: `WindowReload(ctx context.Context)`
+
+JS 方法签名: `WindowReload()`
+
+执行“重新加载”(重新加载 index.html)
+
+### 显示窗口
+
+Go 方法签名: `WindowShow(ctx context.Context)`
+
+JS 方法签名: `WindowShow()`
+
+如果窗口当前处于隐藏状态,则显示该窗口。
+
+### 隐藏窗口
+
+Go 方法签名: `WindowHide(ctx context.Context)`
+
+JS 方法签名: `WindowHide()`
+
+隐藏窗口(如果当前可见)。
+
+### 设置窗口尺寸
+
+Go 方法签名: `WindowSetSize(ctx context.Context, width int, height int)`
+
+JS 方法签名: `WindowSetSize(size: Size)`
+
+设置窗口的宽度和高度。
+
+### 获取窗口尺寸
+
+Go 方法签名: `WindowGetSize(ctx context.Context) (width int, height int)`
+
+JS 方法签名: `WindowGetSize() : Size`
+
+获取窗口的宽度和高度。
+
+### 设置窗口最小尺寸
+
+Go 方法签名: `WindowSetMinSize(ctx context.Context, width int, height int)`
+
+JS 方法签名: `WindowSetMinSize(size: Size)`
+
+设置最小窗口大小。如果窗口当前小于给定尺寸,将调整窗口大小。
+
+将大小设置为 `0,0` 将禁用此约束。
+
+### 设置窗口最大尺寸
+
+Go 方法签名: `WindowSetMaxSize(ctx context.Context, width int, height int)`
+
+JS 方法签名: `WindowSetMaxSize(size: Size)`
+
+设置最大窗口大小。如果窗口当前大于给定尺寸,将调整窗口大小。
+
+将大小设置为 `0,0` 将禁用此约束。
+
+### 设置窗口位置
+
+Go 方法签名: `WindowSetPosition(ctx context.Context, x int, y int)`
+
+JS 方法签名: `WindowSetPosition(position: Position)`
+
+设置相对于窗口当前所在监视器的窗口位置。
+
+### 获取窗口位置
+
+Go 方法签名: `WindowGetPosition(ctx context.Context) (x int, y int)`
+
+JS 方法签名: `WindowGetPosition() : Position`
+
+获取相对于窗口当前所在显示器的窗口位置。
+
+### 窗口最大化
+
+Go 方法签名: `WindowMaximise(ctx context.Context)`
+
+JS 方法签名: `WindowMaximise()`
+
+最大化窗口以填满屏幕。
+
+### 窗口取消最大化
+
+Go 方法签名: `WindowUnmaximise(ctx context.Context)`
+
+JS 方法签名: `WindowUnmaximise()`
+
+将窗口恢复到最大化之前的尺寸和位置。
+
+### 窗口最大化切换
+
+Go 方法签名: `WindowToggleMaximise(ctx context.Context)`
+
+JS 方法签名: `WindowToggleMaximise()`
+
+在最大化和最大化之间切换。
+
+### 窗口最小化
+
+Go 方法签名: `WindowMinimise(ctx context.Context)`
+
+JS 方法签名: `WindowMinimise()`
+
+最小化窗口。
+
+### 窗口取消最小化
+
+Go 方法签名: `WindowUnminimise(ctx context.Context)`
+
+JS 方法签名: `WindowUnminimise()`
+
+将窗口恢复到最小化之前的尺寸和位置。
+
+### 窗口设置 RGBA
+
+Go 方法签名: `WindowSetRGBA(ctx context.Context, R, G, B, A uint8)`
+
+JS 方法签名: `WindowSetRGBA(R, G, B, A)`
+
+将窗口的背景颜色设置为给定的 RGBA 颜色定义。此颜色将显示所有透明像素。
+
+R、G、B 和 A 的有效值为 0-255。
+
+:::info Windows
+
+在 Windows 上,仅支持 0 或 255 的 alpha 值。任何不为 0 的值都将被视为 255。
+
+:::
+
+## Typescript 对象定义
+
+### 位置
+
+```ts
+interface Position {
+ x: number;
+ y: number;
+}
+```
+
+### 尺寸
+
+```ts
+interface Size {
+ w: number;
+ h: number;
+}
+```
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/stats.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/stats.mdx
new file mode 100644
index 000000000..2faf165ed
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/stats.mdx
@@ -0,0 +1,5 @@
+---
+sidebar_position: 100
+---
+
+# 网站统计
diff --git a/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.json b/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.json
index 8e45bf07e..aba08a09b 100644
--- a/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.json
+++ b/website/i18n/zh-Hans/docusaurus-theme-classic/navbar.json
@@ -1,7 +1,7 @@
{
- "item.label.Sponsor ❤": {
+ "item.label.Sponsor": {
"message": "赞助我们 ❤",
- "description": "Navbar item with label Sponsor ❤"
+ "description": "Navbar item with label Sponsor"
},
"item.label.Docs": {
"message": "文档",
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/community/templates.mdx b/website/versioned_docs/version-v2.0.0-beta.34/community/templates.mdx
index 7f27b44c6..8bff4eaeb 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/community/templates.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/community/templates.mdx
@@ -5,7 +5,7 @@ sidebar_position: 1
# Templates
This page serves as a list for community supported templates. Please submit a PR (click `Edit this page` at the bottom)
-to include your templates. To build your own template, please see the [Templates](/docs/guides/templates) guide.
+to include your templates. To build your own template, please see the [Templates](../guides/templates) guide.
To use these templates, run `wails init -n "Your Project Name" -t [the link below[@version]]`
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/building.mdx b/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/building.mdx
index e8f2e9e76..6709a026a 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/building.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/building.mdx
@@ -15,5 +15,5 @@ If you run the binary, you should see the default application:
-For more details on compilation options, please refer to the [CLI Reference](/docs/reference/cli#build).
+For more details on compilation options, please refer to the [CLI Reference](../reference/cli#build).
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/development.mdx b/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/development.mdx
index 5e2977f34..67a9a6443 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/development.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/development.mdx
@@ -10,6 +10,6 @@ You can run your application in development mode by running `wails dev` from you
- Watch for modifications in your Go files and rebuild/re-run on change
- Sets up a [webserver](http://localhost:34115) that will serve your application over a browser. This allows you to use your favourite browser extensions. You can even call your Go code from the console.
-To get started, run `wails dev` in the project directory. More information on this can be found [here](/docs/reference/cli#dev).
+To get started, run `wails dev` in the project directory. More information on this can be found [here](../reference/cli#dev).
Coming soon: Tutorial
\ No newline at end of file
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/firstproject.mdx b/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/firstproject.mdx
index 81c195f8a..8d4c8d946 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/firstproject.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/gettingstarted/firstproject.mdx
@@ -12,10 +12,10 @@ To get up and running quickly, you can generate a default project by running `wa
create a directory called `myproject` and populate it with the default template.
Other project templates are available and can be listed using `wails init -l`.
-There are also [community templates](/docs/community/templates) available that offer different capabilities and frameworks.
+There are also [community templates](../community/templates) available that offer different capabilities and frameworks.
To see the other options available, you can run `wails init -help`.
-More details can be found in the [CLI Reference](/docs/reference/cli#init).
+More details can be found in the [CLI Reference](../reference/cli#init).
## Project Layout
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/guides/application-development.mdx b/website/versioned_docs/version-v2.0.0-beta.34/guides/application-development.mdx
index f96496145..9c3b89102 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/guides/application-development.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/guides/application-development.mdx
@@ -30,7 +30,7 @@ func (a *App) shutdown(ctx context.Context) {
- The startup method is called as soon as Wails allocates the resources it needs and is a good place for creating resources,
setting up event listeners and anything else the application needs at startup.
It is given a `context.Context` which is usually saved in a struct field. This context is needed for calling the
- [runtime](/docs/reference/runtime/intro). If this method returns an error, the application will terminate.
+ [runtime](../reference/runtime/intro). If this method returns an error, the application will terminate.
In dev mode, the error will be output to the console.
- The shutdown method will be called by Wails right at the end of the shutdown process. This is a good place to deallocate
@@ -59,7 +59,7 @@ func main() {
```
-More information on application lifecycle hooks can be found [here](/docs/howdoesitwork#application-lifecycle-callbacks).
+More information on application lifecycle hooks can be found [here](../howdoesitwork#application-lifecycle-callbacks).
## Binding Methods
@@ -113,11 +113,11 @@ func main() {
This will bind all public methods in our `App` struct (it will never bind the startup and shutdown methods).
-More information on Binding can be found [here](/docs/howdoesitwork#method-binding).
+More information on Binding can be found [here](../howdoesitwork#method-binding).
## Application Menu
-Wails supports adding a menu to your application. This is done by passing a [Menu](/docs/reference/menus#menu) struct
+Wails supports adding a menu to your application. This is done by passing a [Menu](../reference/menus#menu) struct
to application config. It's common to use a method that returns a Menu, and even more common for that to be a method on
the `App` struct used for the lifecycle hooks.
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/guides/frameless.mdx b/website/versioned_docs/version-v2.0.0-beta.34/guides/frameless.mdx
index 3bd48ca3a..9a2adc12a 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/guides/frameless.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/guides/frameless.mdx
@@ -1,8 +1,8 @@
# Frameless Applications
-Wails supports applications with no frame. This can be achieved by using the [frameless](/docs/reference/options#frameless)
-field in [Application Options](/docs/reference/options#application-options).
+Wails supports applications with no frame. This can be achieved by using the [frameless](../reference/options#frameless)
+field in [Application Options](../reference/options#application-options).
Wails offers a simple solution for dragging the window: Any HTML element that has the attribute "data-wails-drag" will
act as a "drag handle". This property applies to all nested elements. If you need to indicate that a nested element
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/guides/migrating.mdx b/website/versioned_docs/version-v2.0.0-beta.34/guides/migrating.mdx
index 921a65929..9c3d92933 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/guides/migrating.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/guides/migrating.mdx
@@ -25,7 +25,7 @@ Example:
app.Run()
```
-In v2, there is just a single method, `wails.Run()`, that accepts [application options](/docs/reference/options#application-options).
+In v2, there is just a single method, `wails.Run()`, that accepts [application options](../reference/options#application-options).
```go title="v2"
err := wails.Run(&options.App{
@@ -43,7 +43,7 @@ In v2, there is just a single method, `wails.Run()`, that accepts [application o
In v1, it was possible to bind both arbitrary functions and structs. In v2, this has been simplified to only binding structs.
The struct instances that were previously passed to the `Bind()` method in v1, are now specified in the `Bind` field of
-the [application options](/docs/reference/options#application-options):
+the [application options](../reference/options#application-options):
```go title="v1"
app := wails.CreateApp(/* options */)
@@ -64,13 +64,13 @@ In v1, bound methods were available to the frontend at `window.backend`. This ha
### Application Lifecycle
In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have
-been replaced with 3 lifecycle hooks as part of the [application options](/docs/reference/options#application-options):
+been replaced with 3 lifecycle hooks as part of the [application options](../reference/options#application-options):
-- [OnStartup](/docs/reference/options#onstartup)
-- [OnShutdown](/docs/reference/options#onshutdown)
-- [OnDomReady](/docs/reference/options#ondomready)
+- [OnStartup](../reference/options#onstartup)
+- [OnShutdown](../reference/options#onshutdown)
+- [OnDomReady](../reference/options#ondomready)
-Note: [OnDomReady](/docs/reference/options#ondomready) replaces the `wails:ready` system event in v1.
+Note: [OnDomReady](../reference/options#ondomready) replaces the `wails:ready` system event in v1.
These methods can be standard functions, but a common practice is to have them part of a struct:
@@ -96,11 +96,11 @@ func (b *Basic) startup(ctx context.Context) {
The runtime in v2 is much richer than v1 with support for menus, window manipulation
and better dialogs. The signature of the methods has changed slightly - please refer
-the the [Runtime Reference](/docs/reference/runtime/intro).
+the the [Runtime Reference](../reference/runtime/intro).
-In v1, the [runtime](/docs/reference/runtime/intro) was available via a struct passed to `WailsInit()`.
+In v1, the [runtime](../reference/runtime/intro) was available via a struct passed to `WailsInit()`.
In v2, the runtime has been moved out to its own package. Each method in the runtime takes the
-`context.Context` that is passed to the [OnStartup](/docs/reference/options#onstartup) method.
+`context.Context` that is passed to the [OnStartup](../reference/options#onstartup) method.
```go title="Runtime Example"
package main
@@ -173,7 +173,7 @@ func main() {
Of course, bundlers can be used if you wish to. The only requirement is to pass
the final application assets directory to Wails using an `embed.FS` in the `Assets`
-key of the [application options](/docs/reference/options#application-options).
+key of the [application options](../reference/options#application-options).
### Project Configuration
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/guides/templates.mdx b/website/versioned_docs/version-v2.0.0-beta.34/guides/templates.mdx
index 9890e8fb9..824fb6eb9 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/guides/templates.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/guides/templates.mdx
@@ -4,7 +4,7 @@
Wails generates projects from pre-created templates. In v1, this was a difficult to maintain set of projects that were
subject to going out of date. In v2, to empower the community, a couple of new features have been added for templates:
-- Ability to generate projects from [Remote Templates](/docs/reference/cli#remote-templates)
+- Ability to generate projects from [Remote Templates](../reference/cli#remote-templates)
- Tooling to help create your own templates
## Creating Templates
@@ -91,5 +91,5 @@ Publishing a template is simply pushing the files to GitHub. The following best
- Remove any unwanted files and directories (such as `.git`) from your frontend directory
- Ensure that `template.json` is complete, especially `helpurl`
- Push the files to GitHub
-- Create a PR on the [Community Templates](/docs/community/templates) page
+- Create a PR on the [Community Templates](../community/templates) page
- Announce the template on the [Template Announcement](https://github.com/wailsapp/wails/discussions/825) discussion board
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/howdoesitwork.mdx b/website/versioned_docs/version-v2.0.0-beta.34/howdoesitwork.mdx
index 6d12e2b92..4a0872cd3 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/howdoesitwork.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/howdoesitwork.mdx
@@ -83,7 +83,7 @@ This example has the following options set:
- `OnShutdown` - A callback for when the application is about to quit
- `Bind` - A slice of struct instances that we wish to expose to the frontend
-A full list of application options can be found in the [Options Reference](/docs/reference/options).
+A full list of application options can be found in the [Options Reference](./reference/options).
#### Assets
@@ -108,17 +108,17 @@ the application.
When running in development mode using the `wails dev` command, the assets are loaded off disk, and any changes result
in a "live reload". The location of the assets will be inferred from the `embed.FS`.
-More details can be found in the [Application Development Guide](/docs/guides/application-development).
+More details can be found in the [Application Development Guide](./guides/application-development).
#### Application Lifecycle Callbacks
-Just before the frontend is about to load `index.html`, a callback is made to the function provided in [OnStartup](/docs/reference/options#OnStartup).
+Just before the frontend is about to load `index.html`, a callback is made to the function provided in [OnStartup](./reference/options#OnStartup).
A standard Go context is passed to this method. This context is required when calling the runtime so a standard pattern is to save
-a reference to in this method. Just before the application shuts down, the [OnShutdown](/docs/reference/options#OnShutdown) callback is called in the same way,
-again with the context. There is also an [OnDomReady](/docs/reference/options#OnDomReady) callback for when the frontend
+a reference to in this method. Just before the application shuts down, the [OnShutdown](./reference/options#OnShutdown) callback is called in the same way,
+again with the context. There is also an [OnDomReady](./reference/options#OnDomReady) callback for when the frontend
has completed loading all assets in `index.html` and is equivalent of the [`body onload`](https://www.w3schools.com/jsref/event_onload.asp) event in Javascript.
It is also possible to hook into the window close (or application quit) event by setting the
-option [OnBeforeClose](/docs/reference/options#OnBeforeClose).
+option [OnBeforeClose](./reference/options#OnBeforeClose).
#### Method Binding
@@ -227,8 +227,8 @@ is expecting a struct, will be converted to that struct type. To make this proce
a TypeScript module is generated, defining all the struct types used in bound methods. Using this module, it's possible
to construct and send native Javascript objects to the Go code.
-More information on Binding can be found in the [Binding Methods](/docs/guides/application-development#binding-methods)
-section of the [Application Development Guide](/docs/guides/application-development).
+More information on Binding can be found in the [Binding Methods](./guides/application-development#binding-methods)
+section of the [Application Development Guide](./guides/application-development).
## The Frontend
@@ -412,4 +412,4 @@ tasks such as emit an event or perform logging operations:
window.runtime.EventsEmit("my-event", 1);
```
-More details about the JS runtime can be found in the [Runtime Reference](/docs/reference/runtime/intro).
+More details about the JS runtime can be found in the [Runtime Reference](./reference/runtime/intro).
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/reference/menus.mdx b/website/versioned_docs/version-v2.0.0-beta.34/reference/menus.mdx
index 6e061d647..ea5e47367 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/reference/menus.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/reference/menus.mdx
@@ -5,10 +5,10 @@ sidebar_position: 4
# Menus
It is possible to add an application menu to Wails projects. This is achieved by defining a [Menu](#menu) struct and
-setting the [`Menu`](/docs/reference/options#menu) option, or by calling the runtime method [MenuSetApplicationMenu](/docs/reference/runtime/menu#menusetapplicationmenu).
+setting the [`Menu`](../reference/options#menu) option, or by calling the runtime method [MenuSetApplicationMenu](../reference/runtime/menu#menusetapplicationmenu).
It is also possible to dynamically update the menu, by updating the menu struct and calling
-[MenuUpdateApplicationMenu](/docs/reference/runtime/menu#menuupdateapplicationmenu).
+[MenuUpdateApplicationMenu](../reference/runtime/menu#menuupdateapplicationmenu).
Example:
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/reference/options.mdx b/website/versioned_docs/version-v2.0.0-beta.34/reference/options.mdx
index 94aec40cb..4b55ead0e 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/reference/options.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/reference/options.mdx
@@ -134,7 +134,7 @@ Name: Frameless
Type: bool
When set to `true`, the window will have no borders or title bar.
-Also see [Frameless Windows](/docs/guides/frameless).
+Also see [Frameless Windows](../guides/frameless).
### MinWidth
@@ -178,7 +178,7 @@ Name: StartHidden
Type: bool
-When set to `true`, the application will be hidden until [WindowShow](/docs/reference/runtime/window#WindowShow)
+When set to `true`, the application will be hidden until [WindowShow](../reference/runtime/window#WindowShow)
is called.
### HideWindowOnClose
@@ -222,7 +222,7 @@ Name: Menu
Type: \*menu.Menu
-The menu to be used by the application. More details about Menus in the [Menu Reference](/docs/reference/runtime/menu).
+The menu to be used by the application. More details about Menus in the [Menu Reference](../reference/runtime/menu).
NOTE: On Mac, if no menu is specified, a default menu will be created.
@@ -234,7 +234,7 @@ Type: logger.Logger
Default: Logger to Stdout
-The logger to be used by the application. More details about logging in the [Log Reference](/docs/reference/runtime/log).
+The logger to be used by the application. More details about logging in the [Log Reference](../reference/runtime/log).
### LogLevel
@@ -244,7 +244,7 @@ Type: logger.LogLevel
Default: `Info` in dev mode, `Error` in production mode
-The default log level. More details about logging in the [Log Reference](/docs/reference/runtime/log).
+The default log level. More details about logging in the [Log Reference](../reference/runtime/log).
### OnStartup
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx b/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx
index 1d4fb3014..0e07084b8 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/intro.mdx
@@ -8,15 +8,15 @@ The runtime is a library that provides utility methods for your application. The
and the aim is to try and keep them at parity where possible.
The Go Runtime is available through importing `github.com/wailsapp/wails/v2/pkg/runtime`. All methods in this package
-take a context as the first parameter. This context should be obtained from the [OnStartup](/docs/reference/options#onstartup)
-or [OnDomReady](/docs/reference/options#ondomready) hooks.
+take a context as the first parameter. This context should be obtained from the [OnStartup](../../reference/options#onstartup)
+or [OnDomReady](../../reference/options#ondomready) hooks.
:::info Note
Whilst the context will be provided to the
-[OnStartup](/docs/reference/options#onstartup) method, there's no guarantee the runtime will work in this method as
+[OnStartup](../../reference/options#onstartup) method, there's no guarantee the runtime will work in this method as
the window is initialising in a different thread. If
-you wish to call runtime methods at startup, use [OnDomReady](/docs/reference/options#ondomready).
+you wish to call runtime methods at startup, use [OnDomReady](../../reference/options#ondomready).
:::
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/log.mdx b/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/log.mdx
index 3e0c4f36d..50576587c 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/log.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/log.mdx
@@ -96,7 +96,7 @@ Sets the log level. In Javascript, the number relates to the following log level
## Using a Custom Logger
-A custom logger may be used by providing it using the [Logger](/docs/reference/options#logger)
+A custom logger may be used by providing it using the [Logger](../../reference/options#logger)
application option. The only requirement is that the logger implements the `logger.Logger` interface
defined in `github.com/wailsapp/wails/v2/pkg/logger`:
diff --git a/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx b/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx
index 3139224b8..6180577ec 100644
--- a/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx
+++ b/website/versioned_docs/version-v2.0.0-beta.34/reference/runtime/menu.mdx
@@ -15,7 +15,7 @@ These methods are related to the application menu.
### MenuSetApplicationMenu
Go Signature: `MenuSetApplicationMenu(ctx context.Context, menu *menu.Menu)`
-Sets the application menu to the given [menu](/docs/reference/menus) .
+Sets the application menu to the given [menu](../../reference/menus) .
### MenuUpdateApplicationMenu
Go Signature: `MenuUpdateApplicationMenu(ctx context.Context)`