Skip to content
Private alpha
Documentation — Export and signing

Documentation

Export and signing

The Export tab produces the application's deliverables: the installer for each system, for each processor, signed with your certificates. Everything starts when you ask for it, never automatically.

Choosing the deliverables

The tab shows the systems of the targets checked in the Project tab:

PlatformSystemsProcessors
DesktopWindowsx86, x86_64, arm64
DesktopLinuxx86, x86_64, armv7, arm64, riscv64, ppc64le, s390x, loongarch64
DesktopmacOSx86_64, arm64
MobileAndroidx86, x86_64, armv7, arm64
MobileiOSarm64
Web (server)Linux, Windows, macOS, FreeBSDdepending on the system

For Linux, tick the distribution families you target:

FamilyPackage
Debian, Ubuntu.deb
Fedora, RHEL, openSUSE.rpm
Arch, Manjaro.pkg.tar.zst
Flatpak (desktop).flatpak, for any distribution
Alpine (web server).apk
All.tar.gz archive

Where the build happens

For each deliverable, the tab shows where it will be built:

  • this computer: natively, with your system's tools;
  • this computer (Docker): in disposable containers. This is how Linux packages are made, from any system; they work on Debian 10, Ubuntu 20.04, RHEL 8 and every more recent distribution;
  • this computer (Android SDK): with Android Studio's SDK and NDK;
  • this computer (Xcode): on a Mac, for macOS and iOS;
  • pipeline: by your Git repository's pipeline (see below);
  • impossible: neither this computer nor the pipeline can produce it; the tab says why, and the box is greyed out.

Deliverables are stored in the export folder, named <package>-<version>-<system>-<processor>:

SystemDeliverables
Windows.exe, and an .msi installer if WiX Toolset v3 is installed: for the current user by default, for the whole machine with ALLUSERS=1, with a shortcut and upgrade of the previous version
Linuxpackages for each family; the desktop application installs its menu entry and icons
Android.apk to install, .aab for Google Play
macOSthe .app application, as a .zip and a .dmg
iOS.ipa
Webthe server, its system service (systemd; OpenRC on Alpine) and the HTTPS proxy configurations (see Web publishing)

Signing with your certificates

A signed installer reassures the user and avoids system warnings. Khnoum signs with your certificates, set once and for all in "Signing certificates":

SystemCertificate
Windowsa PFX file and its password, or a certificate from the Windows store (subject and issuer, like signtool /n and /i); default timestamping: http://timestamp.digicert.com. Both the .exe and the .msi are signed.
Androida keystore (.jks, .keystore, .p12), its alias and its passwords
Applethe macOS signing identity, the Apple ID, the team and the app password (notarization), the iOS identity and profile, taken from the Mac's keychain

Passwords are kept in the system credential store: Windows Credential Manager, macOS Keychain, Secret Service on Linux. They are written neither in the project nor in the settings.

Your Git repository's pipeline

What your computer cannot build (macOS and iOS without a Mac, for example) can be built by your Git repository's pipeline:

  • GitHub (Actions);
  • GitLab.com or self-hosted GitLab;
  • Forgejo, Gitea or Codeberg;
  • Bitbucket;
  • Azure DevOps;
  • your own build machines ("My own runners").

The steps are done one at a time, from the tab:

  1. Write the pipeline: Khnoum writes the pipeline file into the project.
  2. Commit and push…: you send it to your repository.
  3. Start the pipeline: it never starts on its own, only when you ask.
  4. Fetch the results: Khnoum downloads the deliverables and signs the Windows and Android ones on your computer.

Apple signing in the pipeline requires you to add your Apple certificates to your repository's secrets (KHNOUM_APPLE_CERTIFICAT, KHNOUM_APPLE_IDENTITE…); without them, the macOS application is produced unsigned.