-
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:
-
Build the native C code, generating a binary named
build/launcher
(build\launcher.exe
on Windows). -
Build the Kotlin Native code, generating a binary named
jaunch
(jaunch.exe
on Windows). -
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.