From 4b7238bdefb9ebdec6f785d8f7c6cd2a005200d7 Mon Sep 17 00:00:00 2001 From: nacro711072 Date: Tue, 20 Sep 2022 15:11:49 +0800 Subject: [PATCH] update doc for mac user launch game. (#7828) --- README.md | 1 - docs/Other/Installing-on-macOS.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 969b1039b4..1cf983283b 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/Other/Installing-on-macOS.md b/docs/Other/Installing-on-macOS.md index dc7fa65c7a..f2d29fd754 100644 --- a/docs/Other/Installing-on-macOS.md +++ b/docs/Other/Installing-on-macOS.md @@ -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.)_