5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 00:09:56 +08:00

New translations installation.mdx (Chinese Simplified)

[ci skip]
This commit is contained in:
Lea Anthony 2022-08-10 18:56:26 +10:00
parent a890f3148c
commit 182a67b805
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -2,6 +2,8 @@
sidebar_position: 1
---
Wails 有许多安装前需要的常见依赖项:
# 安装
## 支持的平台
@ -43,9 +45,9 @@ Wails 有许多安装前需要的常见依赖项:
defaultValue="Windows"
values={[
{label: "Windows", value: "Windows"},
{label: "MacOS", value: "MacOS"},
{label: "Linux", value: "Linux"},
]}
{label: "MacOS", value: "MacOS"},
{label: "Linux", value: "Linux"},
]}
>
<TabItem value="MacOS">
Wails requires that the xcode command line tools are installed. This can be done by running: <br/>
@ -56,6 +58,8 @@ Wails 有许多安装前需要的常见依赖项:
href="https://developer.microsoft.com/en-us/microsoft-edge/webview2/">WebView2</a>{" "}
runtime is installed. Some Windows installations will already have this installed. You can check using
the{" "}
<code>wails doctor</code> command (see below). Some Windows installations will already have this installed. You can check using
the{" "}
<code>wails doctor</code> command (see below).
</TabItem>
<TabItem value={"Linux"}>
@ -67,6 +71,12 @@ Wails 有许多安装前需要的常见依赖项:
to be shown how to install the dependencies.
If your distro/package manager is not supported, please consult the {" "}
<a href={"/docs/guides/linux-distro-support"}>Add Linux Distro</a> guide.
Rather than list a ton of commands for different distros, Wails can try to determine
what the installation commands are for your specific distribution. Run <code>wails doctor</code> after
installation
to be shown how to install the dependencies.
If your distro/package manager is not supported, please consult the {" "}
<a href={"/docs/guides/linux-distro-support"}>Add Linux Distro</a> guide.
</TabItem>
</Tabs>