Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/dev/get-started/devlopment-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ git clone https://github.com/ClassIsland/ClassIsland.git
git clone [email protected]:ClassIsland/ClassIsland.git
```

如果你不能访问github.com,你也可以尝试:

```shell
git clone ssh://[email protected]:443/ClassIsland/ClassIsland.git
```

@tab GitHub CLI

```shell
Expand All @@ -56,6 +62,18 @@ cd ClassIsland
git submodule update --init --recursive
```

::: note 如果您操作超时:
可以更改 `.gitmodules` 文件为:
```
[submodule "vendors/EdgeTtsSharp"]
path = vendors/EdgeTtsSharp
url = ssh://[email protected]:443/ClassIsland/EdgeTtsSharp.git
```
再次尝试拉取。
请注意,该操作需要您拥有并正确配置SSH Key方可使用。
请在提交代码前撤回对相关文件的更改。
:::

克隆仓库后,默认处于 master 分支上,对应 ClassIsland 的稳定版本。建议在稳定版本的基础上开发插件,以获得较好的兼容性。如果您想签出到特定版本上,请使用对应版本的标签名(如 `1.5.0.2`)。

``` shell
Expand Down
18 changes: 18 additions & 0 deletions src/dev/get-started/devlopment.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ git clone https://github.com/ClassIsland/ClassIsland.git
git clone [email protected]:ClassIsland/ClassIsland.git
```

如果你不能访问github.com,你也可以尝试:

```shell
git clone ssh://[email protected]:443/ClassIsland/ClassIsland.git
```

@tab GitHub CLI

```shell
Expand All @@ -49,6 +55,18 @@ gh repo clone ClassIsland/ClassIsland
git submodule update --init --recursive
```

::: note 如果您操作超时:
可以更改 `.gitmodules` 文件为:
```
[submodule "vendors/EdgeTtsSharp"]
path = vendors/EdgeTtsSharp
url = ssh://[email protected]:443/ClassIsland/EdgeTtsSharp.git
```
再次尝试拉取。
请注意,该操作需要您拥有并正确配置SSH Key方可使用。
请在提交代码前撤回对相关文件的更改。
:::

## 编译与运行

在首次编译运行时,需要先手动构建一次。
Expand Down