Skip to content

Commit

Permalink
docs: update index
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed May 2, 2024
1 parent 2121eec commit ed60b8f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
24 changes: 18 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,30 @@

A plugin engine for running LLSE plugins on LeviLamina

## Install
## Installation

To install all engines as a whole, you can use the following command:
To install QuickJs and Lua engine, you can use the following command:

```sh
```shell
lip install github.com/LiteLDev/LegacyScriptEngine
```

To install a specific engine, you can use the following command:

```sh
```shell
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-lua

lip install gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-nodejs
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-python
```

To upgrade engines, you can use the following command:

```shell
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-lua
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-nodejs
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-python
```

## Usage
Expand All @@ -26,6 +36,8 @@ lip install gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs

3. To load them, you need to restart the server.

For more information, please refer to [the documentation](https://lse.liteldev.com).

## Contributing

If you have any questions, please open an issue to discuss it.
Expand All @@ -34,4 +46,4 @@ PRs are welcome.

## License

GPL-3.0-only © LiteLDev
GPL-3.0-or-later © LiteLDev
16 changes: 13 additions & 3 deletions docs/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@

## 安装

要一次性安装所有引擎,您可以使用以下命令:
要一次性安装QuickJs和Lua引擎,您可以使用以下命令:

```sh
lip install github.com/LiteLDev/LegacyScriptEngine
```

要安装特定的引擎,您可以使用以下命令:

```sh
```shell
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-lua

lip install gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-nodejs
lip install gitea.litebds.com/LiteLDev/legacy-script-engine-python
```

要升级特定引擎,您可以使用以下命令:

```shell
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-lua
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-quickjs
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-nodejs
lip install --upgrade gitea.litebds.com/LiteLDev/legacy-script-engine-python
```

## 使用
Expand Down

0 comments on commit ed60b8f

Please sign in to comment.