From 68cc8014505b30127444f95c54d7c43636a9c7f3 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sat, 6 Feb 2021 23:01:45 +0200 Subject: [PATCH] Update README.md --- README.md | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/README.md b/README.md index 32d684649b..c07acae3d6 100644 --- a/README.md +++ b/README.md @@ -75,39 +75,7 @@ Yes! Windows and Linux versions are available at [itch.io](https://yairm210.itch If you have Java 8, and are familiar with the command line, there are (considerably smaller) JARs in [Releases](https://github.com/yairm210/UnCiv/releases) which you can run with `java -jar Unciv.jar`. This is also (currently) the only way to run the game on MacOS. -Be aware that the game will generate files inside the folder where the Jar is located! - -If you also have JDK 8 installed, you can compile Unciv on your own by cloning (or downloading and unzipping) the project, opening a terminal in the Unciv folder and run the following commands: - -### Windows - -Running: `gradlew desktop:run` - -Building: `gradlew desktop:dist` - -### Linux/Mac OS - -Running: `./gradlew desktop:run` - -Building: `./gradlew desktop:dist` - -If the terminal returns `Permission denied` or `Command not found` on Mac/Linux, run `chmod +x ./gradlew` first. *This is a one-time procedure.* - -If you get an error that Android SDK folder wasn't found, firstly install it by doing in terminal: - -`sudo apt update && sudo apt install android-sdk` (Debian, Ubuntu, Mint etc.) - -After that you should put its folder to the file `local.properties` by adding this line: - -`sdk.dir = /path/to/android/sdk` which can be `/usr/lib/android-sdk` or something other. - -If during the first launch it throws an error that the JDK version is wrong try [this JDK installation](https://www.azul.com/downloads/zulu-community/?package=jdk). - -Gradle may take up to several minutes to download files. Be patient. -After building, the output .JAR file should be in /desktop/build/libs/Unciv.jar - -For actual development, you'll probably need to download Android Studio and build it yourself - see Contributing :) - +If you want to build it from sratch for some reason, [we have instructions for that as well](https://github.com/yairm210/Unciv/wiki/Building-locally-without-Android-Studio) ## How about IOS?