添加开发指南
This commit is contained in:
24
README.md
24
README.md
@ -8,6 +8,30 @@
|
||||
|
||||
使用 [packwiz](https://packwiz.infra.link) 进行模组包管理。
|
||||
|
||||
首先你要安装 packwiz。建议的是用 Golang 技术栈来直接安装:
|
||||
|
||||
```bash
|
||||
go install github.com/packwiz/packwiz@latest
|
||||
```
|
||||
|
||||
然后,进入对应的目录开始工作。例如要更改客户端相关:
|
||||
|
||||
```bash
|
||||
cd client
|
||||
```
|
||||
|
||||
### 添加模组
|
||||
|
||||
```bash
|
||||
packwiz add https://modrinth.com/mod/create
|
||||
```
|
||||
|
||||
### 构建 .mrpack 文件
|
||||
|
||||
```bash
|
||||
packwiz modrinth export
|
||||
```
|
||||
|
||||
## 服务端部署
|
||||
|
||||
参见 [该文档](https://packwiz.infra.link/tutorials/installing/packwiz-installer/)。
|
||||
|
||||
Reference in New Issue
Block a user