-
Use
make dist
to build from source. -
Copy the
dist/launcher
/dist\launcher.exe
native launcher to your application distribution root, renaming it to match your desired naming. For example, if your application is called Fizzbuzz, you might name itfizzbuzz
/fizzbuzz.exe
. -
Create a directory beneath your application root, into which your application's Jaunch TOML configuration will be stored. This configuration directory can be named
jaunch
,.jaunch
,config/jaunch
, or.config/jaunch
, depending on your requirements and taste. Or you can customize the allowed configuration directory names by editing theJAUNCH_SEARCH_PATHS
list in jaunch.c and matchingconfigDirs
list in main.kt. -
Copy the TOML files from the
dist/jaunch
folder to your application distribution's configuration folder, as created in (3). -
Rename the
launcher.toml
file to match your launcher name from (2) (e.g.fizzbuzz.toml
). -
Edit the renamed TOML file's contents to set the parameters for your application. See the comments in
common.toml
for detailed guidance. If you don't need the JVM, you can remove the JVM-specific parts. If you don't need Python, you can remove the Python-specific parts.