Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Compiling

MCMrARM edited this page Nov 29, 2018 · 7 revisions

Table of Contents

Compiling on Linux

Simply run these commands and you are good to go.

$ git clone https://github.com/MCMrARM/mcpelauncher-linux --recursive # Get the source (recursive is required)
$ cd mcpelauncher-linux
$ git submodule init && git submodule update # Get the gplaydl submodule
$ ./download_icon.sh
$ ./setup_bin_libs.sh
$ ./setup_cef.sh # This command must be issued only if you want to do a CEF build
$ mkdir build/ && cd build/
$ cmake ..
$ make -j$(nproc) # This will use all cores on your system
$ sudo make install # This will install mcpelauncher in your system

Starting mcpelauncher-linux

If you installed mcpelauncher-linux in your system you can find it in your applications menu, under the Games section.

You can also start it by typing mcpelauncher in a terminal.

If you didn't install it in your system, change directory to your build directory, then run ./mcpelauncher in a terminal.

Compiling on macOS

Run the provided scripts ./setup_bin_libs.sh (to grab FMOD) and download_icon.sh (to grab the icon, which is currently not used)

The commands to build using CMake are as follows:

$ mkdir build/ && cd build/
$ cmake ..
$ make -j$(sysctl -n hw.ncpu) # This will use all the cores on your system

Starting mcpelauncher-linux

Move back into the root directory and start the game with ./start_mcpelauncher.sh

That should do the job. If you have any issues, open an issue ticket and we'll be happy to help you!