Repository navigation
Cross Platform Builds
This page covers the manual Desktop builds workflow, which produces installers for all six desktop targets, and the Microsoft Store .msixbundle. Workflow internals are in GitHub Actions.
pnpm build:all dispatches the Desktop builds workflow for the current pushed commit, waits for all six jobs, and verifies the downloaded artifacts. Requirements:
- A clean worktree, with the current branch or tag pushed to
originat exactlyHEAD. - The GitHub CLI authenticated with Actions dispatch and artifact-read permissions.
- Network access to GitHub Actions.
Verified packages and manifests are written to .artifacts/desktop-builds/<request-id>/ (Git-ignored). Artifacts expire after 14 days. The command rejects partial, stale, wrong-target, or modified artifacts.
Windows jobs use native Windows runners and the native Windows build wrapper, not the Dev Container or cargo-xwin. The builds are unsigned and unnotarized, so Windows SmartScreen and macOS Gatekeeper may warn or block installation (see Troubleshooting). Do not distribute them as trusted installers. The workflow never publishes releases or uses the updater configuration.
The MSIX artifact is for Partner Center submission only, not local installation. Use the NSIS .exe for local installation. For the Store process, see Releasing and GitHub Actions.
The shared store-msix.yml workflow builds the Store packages for both manual Desktop builds and the signed release. When dispatching Desktop builds directly, provide previous_store_version if a prior Store submission exists, so the build rejects a non-advancing version. To package the x64 and ARM64 MSIX files by hand, see Manually building the Store .msixbundle.
Partner Center accepts one .msixbundle that contains the x64 and ARM64 Store packages. The Store MSIX packages workflow builds the bundle automatically on a Windows runner (see GitHub Actions). The manual steps below reproduce or repair a bundle after both architecture-specific packages for the same release are downloaded and verified. Use a Windows 10/11 machine with the Windows SDK installed, and run the commands in a Developer PowerShell (or call makeappx.exe by its full path).
-
Download the
Epikrise_<version>_x64.msixandEpikrise_<version>_arm64.msixfiles and their.msix.manifest.jsonfiles from the GitHub Release for the tagged version, and check each against its manifest. If the release is not yet published, use theepikrise-store-msix-x64andepikrise-store-msix-arm64artifacts from the same Desktop builds run. Each artifact holds the package underfiles/and a rootmanifest.jsonwith its SHA-256. -
Create an empty folder, for example
C:\StoreBundle, and copy only the twoEpikrise_<version>_<arch>.msixfiles into it.makeappxbundles only packages that share the same identity and version, so the folder must not contain anything else. -
Run
makeappxfrom the SDK, replacing the folder and output paths.<version>is the four-part version shared by both packages (year.month.patch.0). Pass it with/bv; without it, MakeAppx stamps the bundle with the current date-time instead.makeappx.exe bundle /d C:\StoreBundle /p C:\StoreBundle\Epikrise_<version>.msixbundle /bv <version>
If
makeappx.exeis not onPATH, call it by its full SDK path with PowerShell's call operator:& "C:\Program Files (x86)\Windows Kits\10\bin\<sdk-version>\x64\makeappx.exe" bundle /d C:\StoreBundle /p C:\StoreBundle\Epikrise_<version>.msixbundle /bv <version>
The script
scripts/package-store-msixbundle.ps1searches the same SDK location and prefers the newest version. -
Confirm the output file exists. The bundle is unsigned. Microsoft signs submitted Store packages, as described above.
The store-msix.yml bundle job attaches a GitHub build provenance attestation to the .msixbundle. To verify a downloaded copy, run gh attestation verify Epikrise_<version>_bundle.msixbundle --repo jerney-nexus/epikrise.
Keep the bundle and its inputs out of the repository and out of any clinical environment. Upload the bundle to Partner Center manually.
Epikrise wiki
Using Epikrise
Developing
Maintaining