From 7c26dcc3f95e9c982e00f403ace8330795758a5d Mon Sep 17 00:00:00 2001 From: "S.B99" <17222512+S-B99@users.noreply.github.com> Date: Wed, 7 Aug 2019 13:35:49 -0400 Subject: [PATCH] Update building section --- README.md | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index fb142551..4fcb4f4a 100644 --- a/README.md +++ b/README.md @@ -72,24 +72,33 @@ If you do not wish to run from an IDE, use `gradlew.bat runClient` to run KAMI. ### Building #### Windows -You can build by running `autobuild.bat` and then `autocopy.bat`, or if you prefer the manual way, do the following: +You can build by running these commands (without these <>) in a terminal with the current directory being KAMI. (EG. `cd C:\Users\Username\Downloads\KAMI`) +``` +gradlew.bat +``` +Possible arguments on Windows are `build`. + +To copy on windows run `autocopy.bat` + +If you prefer copying it manually, find a file in `build/libs` called `KAMI---**release**.jar` which you can copy to the `mods\1.12.2` folder of a minecraft instance that has forge installed. -``` -gradlew.bat build -cd build/libs -``` -To copy the release jar in `build/libs` you can run `autocopy.bat` or, if you prefer doing it manually, find a file `KAMI---release.jar` which you can copy to the `mods` folder of a minecraft instance that has forge installed. -#### Linux -``` -git clone https://github.com/zeroeightysix/KAMI.git -cd KAMI -chmod +x auto* -./autobuild -mkdir ~/.minecraft/mods -./autocopy -``` Note: This assumes your minecraft folder is in the default location under your home folder. +#### Linux +You can build by running these commands (without these <>) in a terminal with the current directory being KAMI. (EG. `cd ~/Downloads/KAMI`) +``` +./gradlew +``` +Possible arguments are `build`, `mkdir`, `rmold` and `copy`, in that order. + +Build is required, mkdir makes the mods/1.12.2 directory, rmold removes old versions of KAMI in that directory, and copy copies the build release to the mods/1.12.2 directory. + +If you prefer copying it manually, find a file in `build/libs` called `KAMI---**release**.jar` which you can copy to the `mods/1.12.2` folder of a minecraft instance that has forge installed. + +Note: This assumes your minecraft folder is in the default location under your home folder. + +Note: Any argument other then `build` assumes you downloaded KAMI to a nested folder inside your home folder. For example `~/Downloads/KAMI` or `~/Documents/KAMI` + ## Thank you [ZeroMemes](https://github.com/ZeroMemes) for [Alpine](https://github.com/ZeroMemes/Alpine)