1
0
mirror of https://github.com/yairm210/Unciv.git synced 2025-01-12 15:56:57 +07:00

update doc for mac user launch game. ()

This commit is contained in:
nacro711072 2022-09-20 15:11:49 +08:00 committed by GitHub
parent 11de54d8d5
commit 4b7238bdef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,6 @@ Yes! Windows and Linux versions are available at [itch.io](https://yairm210.itch
Unciv can also be installed on macOS, a guide on how to do that can be found [here](https://yairm210.github.io/Unciv/Other/Installing-on-macOS/).
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`.
For Mac users, you'll need to add extra parameters, `java -XstartOnFirstThread -Djava.awt.headless=true -jar Unciv.jar`.
If you use Flatpaks, there's a Flatpak by [MayeulC](https://github.com/MayeulC) and you can know more about it [here](https://github.com/flathub/io.github.yairm210.unciv). Flathub link is available in the [Downloads](#downloads) section.

View File

@ -6,7 +6,7 @@ There is currently two ways to install Unciv on macOS. It is recommended that yo
1. If you don't already have Java 8 installed on your mac make sure you download it from the [official website](https://java.com/en/download/). Once you have downloaded the file open it and follow the instructions on screen.
2. Now that you have Java 8 installed it's time to download the latest Unciv JAR. This can be done from the [releases](https://github.com/yairm210/Unciv/releases) screen here on Github. Download the file called Unciv.jar.
3. To run the game, you'll need to create to run `java -XstartOnFirstThread -Djava.awt.headless=true -jar Unciv.jar` from a Terminal.
3. To run the game, you'll need to create to run `java -jar Unciv.jar` from a Terminal.
4. Alternatively, you could create a 'Unciv.sh' file containing that line, and then run the new file, to allow you to create shortcuts etc.
_(Sadly Unciv dose not auto update when installing it using this method on macOS so you will need to download the latest Unciv.jar from Github every time you want to update the game.)_