Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.12 KB

BUILD.md

File metadata and controls

41 lines (33 loc) · 1.12 KB

Building Jaunch from source

  • Linux:

    make dist
  • macOS: Install XCode first. Then in a Terminal:

    make dist
  • Windows: Install Scoop first. Then in a PowerShell:

    scoop install mingw
    make dist

    And if that fails, try it from the bash shell—e.g.:

    sh -c "make dist"

    Which way works might depend on whether you installed Git using Scoop.

The build process will:

  1. Build the native C code, generating a binary named build/launcher (build\launcher.exe on Windows).

  2. Build the Kotlin Native code, generating a binary named jaunch (jaunch.exe on Windows).

  3. Copy the needed files to the dist directory, including:

    • The two native binaries (1) and (2);
    • The default TOML configuration files.
    • The Props.class helper program.

Then run the launcher binary in the dist folder and watch the fireworks. If it doesn't work, try appending the --debug flag, which will show what's happening under the hood.