-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Core Launcher has an installer for Windows OS. You can view its source code and guide from here.
Or you can download it directly. Then if you wish you can view launchers' guide.
˅˅˅˅ If you do not have Windows OS, for now, you have to follow the installation steps. ˅˅˅˅
Core Launcher works with Java 17. You have to download it and add it to the system path variable.
You have many options.
- You can delete it.
- You can remove it from the system path variable.
- You can use a launch script. (see Creating a Launch Script)
- Go to Java 17 Download Page
- Download (JDK or JRE) and install it based on your OS.
- Check the path variable after installation. (It should be like
.../jre|jdk 17.../bin)
You can download the latest version of the launcher from its website.
Notice: In my opinion, you should create a new folder for the launcher, because it creates a config.json and all of your settings are stored in this file. You don't want to lose it :)
You have two options to run the launcher.
- Using a launch script. (see Creating a Launch Script)
- Clicking on the JAR twice. (Yup, like a normal app.)
java -jar CoreLauncher.jar
Create a file (Unix .sh, MacOS .command, Windows .bat) and paste this code into it.
You can replace java with a custom Java 17 path. (".../...jre|jdk 17.../bin/java.exe")
On Unix, you need to add
#!/bin/sh
cd "$(dirname "$(readlink -fn "$0")")"
MacOS, you need to add
#!/bin/bash
cd "$(dirname "$0")"
to the beginning of the script.
If you didn't change the launchers' JAR path, the launch script and launcher must be in the same directory.
--profile "profile name"
Starts the launcher directly with the selected profile without opening any GUI.
--launch "profile name"
Starts the launcher directly with the selected profile, and opens a GUI based on the Don't Use GUI On Shortcuts setting.
Starts the launcher in offline mode.
See here.
Page-by-page documentation is here.
Extension API documentation is here.