update readme

This commit is contained in:
Kirigaya Kazuto 2018-11-17 17:50:01 +08:00
parent a2340be96d
commit badbb77f40
2 changed files with 29 additions and 3 deletions

View File

@ -17,6 +17,18 @@ Other useful links:
## Quick Setup
Select all content of [update.lua](update.lua) and copy to clipboard. Switch to Minecraft and open any computer. Type `edit update`, then paste the code (use middle button of mouse). Save (ctrl+s) and close (ctrl+w) the editor. Then use `update` to setup basic libraries.
Run the following command to download Script Installer:
Notice that `update.lua` needs an internet card to download files.
`wget https://raw.githubusercontent.com/Kiritow/OpenComputerScripts/master/grab.lua`
or
`wget http://kiritow.com:3000/Kiritow/OpenComputerScripts/raw/master/grab.lua`
Then start it with:
`grab`
or (install basic libraries)
`grab --setup`

View File

@ -20,4 +20,18 @@
## 快速使用
首先搭建一台带有因特网卡的电脑并启动,打开[update.lua](update.lua)并复制全部内容,到游戏中输入`edit update`打开编辑器,用鼠标中键粘贴,按Ctrl+S保存,按Ctrl+W退出编辑器.然后输入`update`后,一些基本库将会被自动下载到本地. 注意如果在`/home`目录下保存失败,可输入`cd /tmp`切换到系统临时文件夹尝试,或在硬盘上安装openos后尝试 (或者找一个可写的介质即可).
使用以下命令下载 脚本安装器:
`wget https://raw.githubusercontent.com/Kiritow/OpenComputerScripts/master/grab.lua`
或者 (国内镜像)
`wget http://kiritow.com:3000/Kiritow/OpenComputerScripts/raw/master/grab.lua`
使用以下命令启动 脚本安装器:
`grab`
或者 (将安装一些基础库)
`grab --setup`