Skip to content

Commit 00fe842

Browse files
committed
chore: update index.md
1 parent ddbe38a commit 00fe842

2 files changed

Lines changed: 28 additions & 19 deletions

File tree

docs/index.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ A plugin engine for running LLSE plugins on LeviLamina
77
### Server
88

99
!!! warning
10-
Before installing the Python engine, you need to install Python first. Here is a list of LSE versions and their required Python versions.
10+
Before installing the Python engine, you need to install Python first. Here is a list of LSE versions and their required
11+
Python versions.
1112

1213
| LSE Version | Python Version |
1314
|-----------------|----------------|
@@ -16,42 +17,46 @@ A plugin engine for running LLSE plugins on LeviLamina
1617
| <0.9.0 | 3.10.11 |
1718

1819
To install a specific engine, you can use the following command:
20+
1921
```shell
2022
lip install github.com/LiteLDev/LegacyScriptEngine#lua
2123
lip install github.com/LiteLDev/LegacyScriptEngine#quickjs
2224
lip install github.com/LiteLDev/LegacyScriptEngine#nodejs
2325
lip install github.com/LiteLDev/LegacyScriptEngine#python
2426
```
25-
For version older than 0.10.0, you can use the following command:
26-
```shell
27-
lip install git.levimc.org/LiteLDev/legacy-script-engine-lua@version
28-
lip install git.levimc.org/LiteLDev/legacy-script-engine-quickjs@version
29-
lip install git.levimc.org/LiteLDev/legacy-script-engine-nodejs@version
30-
lip install git.levimc.org/LiteLDev/legacy-script-engine-python@version
31-
```
27+
3228
Version numbers can be found in [releases](https://github.com/LiteLDev/LegacyScriptEngine/releases).
3329

30+
For version older than 0.10.0, you can only download them
31+
from [releases](https://github.com/LiteLDev/LegacyScriptEngine/releases), and decompress them in `plugins/` folder.
32+
If you want to install Node.js engine, you need to download **node-prebuilt.zip**
33+
from [LiteLDev/node](https://github.com/LiteLDev/node/releases), and decompress it in
34+
`plugins/legacy-script-engine-nodejs/` folder. Installing through lip doesn't require this step.
35+
3436
### Client
3537

3638
To install a specific engine, you can use the following command:
39+
3740
```shell
3841
lip install github.com/LiteLDev/LegacyScriptEngine#client_lua
3942
lip install github.com/LiteLDev/LegacyScriptEngine#client_quickjs
4043
lip install github.com/LiteLDev/LegacyScriptEngine#client_nodejs
4144
lip install github.com/LiteLDev/LegacyScriptEngine#client_python
4245
```
46+
4347
To install a specific version, you can add`@version` at the end of installation command, such as:
48+
4449
```shell
4550
lip install github.com/LiteLDev/LegacyScriptEngine#client_lua@0.17.0-rc.2
4651
lip install github.com/LiteLDev/LegacyScriptEngine#client_quickjs@0.17.0-rc.2
4752
lip install github.com/LiteLDev/LegacyScriptEngine#client_nodejs@0.17.0-rc.2
4853
lip install github.com/LiteLDev/LegacyScriptEngine#client_python@0.17.0-rc.2
4954
```
5055

51-
5256
## Usage
5357

54-
To access plugin development API hints and scaffolding toolkits, visit the [legacy-script-engine-api](https://github.com/LiteLDev/legacy-script-engine-api) repository.
58+
To access plugin development API hints and scaffolding toolkits, visit
59+
the [legacy-script-engine-api](https://github.com/LiteLDev/legacy-script-engine-api) repository.
5560

5661
1. Put LLSE plugins directly in `plugins/`
5762
2. Run the server, then the plugins will be migrated to LeviLamina plugin manifest automatically

docs/index.zh.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## 安装
66

77
!!! warning
8-
在安装Python引擎之前,你需要先安装Python。下面是一份LSE版本和需要的Python版本的列表。
8+
在安装Python引擎之前,你需要先安装Python。下面是一份LSE版本和需要的Python版本的列表。
99

1010
| LSE 版本 | Python 版本 |
1111
|-----------------|-----------|
@@ -16,31 +16,34 @@
1616
### 服务端
1717

1818
要安装特定的引擎,您可以使用以下命令:
19+
1920
```shell
2021
lip install github.com/LiteLDev/LegacyScriptEngine#lua
2122
lip install github.com/LiteLDev/LegacyScriptEngine#quickjs
2223
lip install github.com/LiteLDev/LegacyScriptEngine#nodejs
2324
lip install github.com/LiteLDev/LegacyScriptEngine#python
2425
```
25-
对于0.10.0之前的版本,可以使用以下命令:
26-
```shell
27-
lip install git.levimc.org/LiteLDev/legacy-script-engine-lua@版本
28-
lip install git.levimc.org/LiteLDev/legacy-script-engine-quickjs@版本
29-
lip install git.levimc.org/LiteLDev/legacy-script-engine-nodejs@版本
30-
lip install git.levimc.org/LiteLDev/legacy-script-engine-python@版本
31-
```
26+
3227
可以在[releases](https://github.com/LiteLDev/LegacyScriptEngine/releases)中找到版本号。
3328

29+
对于0.10.0以前的版本,你只能从 [releases](https://github.com/LiteLDev/LegacyScriptEngine/releases) 中下载,然后解压到
30+
`plugins/` 文件夹。
31+
如果你想安装Node.js引擎,你需要从 [LiteLDev/node](https://github.com/LiteLDev/node/releases) 下载**node-prebuilt.zip**
32+
,并解压到`plugins/legacy-script-engine-nodejs/` 文件夹。通过lip安装不需要这一步。
33+
3434
### 客户端
3535

3636
要安装特定的引擎,您可以使用以下命令:
37+
3738
```shell
3839
lip install github.com/LiteLDev/LegacyScriptEngine#client_lua
3940
lip install github.com/LiteLDev/LegacyScriptEngine#client_quickjs
4041
lip install github.com/LiteLDev/LegacyScriptEngine#client_nodejs
4142
lip install github.com/LiteLDev/LegacyScriptEngine#client_python
4243
```
44+
4345
要安装特定版本,需要在命令最后加上`@版本号`,例如:
46+
4447
```shell
4548
lip install github.com/LiteLDev/LegacyScriptEngine#client_lua@0.17.0-rc.2
4649
lip install github.com/LiteLDev/LegacyScriptEngine#client_quickjs@0.17.0-rc.2
@@ -50,7 +53,8 @@ lip install github.com/LiteLDev/LegacyScriptEngine#client_python@0.17.0-rc.2
5053

5154
## 使用
5255

53-
如需获取插件开发 API 提示库和脚手架工具,请访问 [legacy-script-engine-api](https://github.com/LiteLDev/legacy-script-engine-api) 仓库
56+
如需获取插件开发 API
57+
提示库和脚手架工具,请访问 [legacy-script-engine-api](https://github.com/LiteLDev/legacy-script-engine-api) 仓库
5458

5559
1. 直接将 LLSE 插件放在 `plugins/`
5660
2. 运行服务器,然后插件将自动迁移到 LeviLamina 插件清单中

0 commit comments

Comments
 (0)