Skip to content

sunecz/Media-Downloader-Launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media-Downloader-Launcher

Launcher for Media Downloader. This application launches the media-downloader.jar file using a custom JRE located in the jre directory.

How to build

Building can be done manually using CMake and Make or by using the building script build.sh and Docker. A custom version of the multiarch/crossbuild Docker image is used to build the launcher.

Manually

Simply run:

mkdir build && cd build && cmake .. && make

This will create build directory and build the program into it. This method will create the launcher binaries only for the host system. Note that build essentials, such as clang or gcc (and more), are required.

Using the docker image

First, install Docker Desktop application and start it up. Then you need to build the custom docker image, which can be done by running the following command from the repository's root directory:

docker build --no-cache -t multiarch/crossbuild .

After the docker image is successfully built, you can run the build script:

./build.sh

This will create build directory and three subdirectories, each for one of these operating systems (all 64-bit): Windows (windows-x64), Linux (linux-x64) and Mac OS X (osx-x64).

Related repositories