Skip to main content
The builder.py script uses the DirectGVR Console tools to compile and sign a launcher: launcher.exe on Windows or the launcher.app folder on macOS. It takes options from the command line, a JSON configuration file or both. For every option, see builder.py.

Required options

  • target_os: for example win64, mac64 or macarm64.
  • skin_directory: full path to the folder with your launcher skin files.
  • launcher_path: full path for the compiled launcher.

Options you’ll want

These don’t stop a build, but you need them to sign the launcher with your code-signing certificate and to copy the CEF libraries next to it. Use either the certificate path and password or the certificate identity and store, not both.
  • cef_source_directory: full path to the folder with the CEF binaries. It’s different for Windows and macOS.
  • timestamp_service_url: timestamp server for signing. It’s different for Windows and macOS.
  • certificate_path: full path to your code-signing certificate.
  • certificate_password: password for the certificate.
  • certificate_identity: usually the certificate’s common name in your certificate store.
  • certificate_store: the store the certificate is in, for example user or machine.
These rarely change, so put them in a JSON configuration file for each operating system.

Optional options

These appear in the launcher’s file properties. In the sample skin, they also decide where the debug log is written on the player’s machine.
  • launcher_company
  • launcher_copyright
  • launcher_product_name
  • launcher_version

Build for Windows

This configuration sets the options that rarely change between builds:
build_windows.json
The script puts the signed gamelauncher.exe in the folder you set, next to the CEF libraries it needs.

Build for macOS

build_mac.json
The script puts the signed gamelauncher.app in the folder you set. The app folder contains the CEF libraries it needs.
You can build launchers for Windows or macOS on either operating system. To sign a macOS app on Windows, export your Apple Developer code-signing certificate first. See the Signer console in Deployment Console tools.