Desktop releases
This page is for maintainers who publish the Utming desktop app, and for anyone helping users install it.
Run Release desktop, review and merge the version pull request, and CI publishes one GitHub release with four platform bundles.
flowchart TD run([Run Release desktop]):::accent --> pr[Review and merge<br/>the version PR] pr --> ci[CI passes on the<br/>merge commit] ci --> arm[Mac Apple silicon] ci --> intel[Mac Intel] ci --> win[Windows x64] ci --> linux[Linux x64 Flatpak] arm --> rel[One GitHub release]:::go intel --> rel win --> rel linux --> rel
Each release is named Utming v0.x.x and links these installers:
| Platform | Installer | Updates |
|---|---|---|
| Mac Apple silicon | utming-arm64.dmg |
Automatic |
| Mac Intel | utming-x64.dmg |
Automatic |
| Windows x64 | utming-Setup-x64.exe |
Automatic |
| Linux x64 preview | utming-linux-x64.flatpak |
Repository install updates itself; bundle install the next bundle |
Mac ZIP files, Mac and Linux runtime packs, checksums, the public certificate, update metadata and the Terminal and PowerShell install scripts stay on the same release as supporting assets.
The Linux Flatpak bundle does not include the runtime pack; local setup downloads utming-Runtime-linux-x64-<id>.tar.gz from the release, the same way as on a Mac. The bundle is one release file of at most 1900 MiB, below GitHub's 2 GiB limit per file. release-linux-x64.json records the version, source commit, Flatpak commit, size and hash. SHA256SUMS-linux-x64 covers the bundle. Releases keep at most 30 assets so older installed apps can still read them. See Linux installation.
Desktop builds include the server source, built web files, production dependencies, required runtime files, and licenses. The server runs TypeScript through tsx.
Mac release jobs install optional dependencies for their target CPU and ARM64. Intel jobs use x64 Node through Rosetta on Apple silicon runners. Bun selects its native ARM64 binary there, so both CPU variants must be available during installation. The packaged app still uses its target CPU.
Builds exclude frontend source, duplicate public files, lockfiles, development package settings, source maps, and type declarations. Dependency tests, examples, build scripts, and unused TypeScript sources are also excluded. Files that a package declares as runtime entry points stay in the bundle. Speech source archives stay with their licenses.
Packaged windows disable DevTools. The production menu excludes developer tools and force reload. It keeps standard reload, zoom, fullscreen, and onboarding replay. Source runs keep the development controls.
Before packaging, the Mac, Windows and Linux builds disable Node option injection, Node inspector flags, and extra file-protocol privileges. They enable cookie encryption and check the binary settings. Node execution stays enabled because the audio decoder runs in a separate child process.
The runtime dependency overrides use patched Sharp and Undici versions. A single Sharp version avoids duplicate native image libraries.
Overrides also select patched versions of Glob, Minimatch, Hono's Node server, qs, and RE2JS. Keep the root and desktop locks in sync when their shared build dependencies change.
Configure Utming releases
Section titled “Configure Utming releases”No Utming desktop release has been prepared in this checkout. Create and review fresh release metadata before building a release.
In the protected GitHub release environment, set these public variables for your Windows signing identity:
UTMING_WINDOWS_SIGNING_ENDPOINTUTMING_WINDOWS_SIGNING_ACCOUNTUTMING_WINDOWS_SIGNING_PROFILEAZURE_TENANT_IDAZURE_CLIENT_ID
Set the expected publisher name and certificate profile in desktop/runtime/windows-publisher.json. Signing and update verification refuse an unconfigured identity.
The first release runs fresh installation checks. Checks that upgrade an earlier Utming release begin when an earlier release exists. After publishing the first signed release, set the repository variable UTMING_DESKTOP_RELEASE_ACCEPTANCE=true to enable scheduled and manually dispatched Windows startup checks.
Verify release provenance
Section titled “Verify release provenance”Releases built from the public repository include utming-release.sigstore.json. The release workflow checks the final files, signs their hashes with GitHub build provenance, and verifies each file before upload. Verification requires the Utming repository, the original build workflow on main, and the build's exact source commit. A failed or missing check prevents a new public release.
Release source revisions use the repository’s full Git object ID: 40 lowercase hexadecimal characters for SHA-1, or 64 for SHA-256. Keep the full value in build metadata and provenance comparisons. Asset checksums remain SHA-256 values of 64 hexadecimal characters, regardless of the Git object format. Signing tools use their own fingerprint formats.
Download an asset and its bundle from the same release. Get the full build commit from the release notes and check it against the approved release. Replace the placeholder, then verify:
BUILD_COMMIT='<full-build-commit>'gh attestation verify utming-arm64.dmg --repo inlevel9-com/utming.com --bundle utming-release.sigstore.json \ --signer-workflow inlevel9-com/utming.com/.github/workflows/desktop-release.yml \ --source-ref refs/heads/main --source-digest "$BUILD_COMMIT"The build workflow saves the original signature bundle before upload. Recovery uses that bundle and the original source commit; it cannot create replacement provenance. Older releases built while the repository was private do not gain provenance retroactively. A release built from the public repository without its original bundle requires a new build. Platform signing and notarization checks still run.
Configure the repository once
Section titled “Configure the repository once”Release builds require an owner-controlled Apple Developer ID and notarization credentials. The source does not include an Utming signing identity. Configure the protected release environment before explicitly running a release workflow.
| Kind | Name | Value |
|---|---|---|
| Secret | APPLE_CERTIFICATE |
Base64-encoded PKCS#12 with the certificate, its private key and Apple's G2 certificate |
| Secret | APPLE_CERTIFICATE_PASSWORD |
The PKCS#12 export password |
| Secret | APPLE_API_KEY |
The App Store Connect team API key (.p8) that notarizes builds |
| Variable | APPLE_API_KEY_ID |
That key's ID |
| Variable | APPLE_API_ISSUER |
The issuer ID shown above the team keys |
| Variable | APPLE_TEAM_ID |
The 10-character Apple team ID |
| Variable | APPLE_SIGNING_IDENTITY |
The exact certificate name, Developer ID Application: <publisher> (<team ID>) |
| Variable | APPLE_CERTIFICATE_SHA256 |
Lowercase SHA-256 of the certificate, from shasum -a 256 developerID_application.cer |
| Variable | UTMING_SIGNING_MODE |
developer-id |
- In the repository's Actions settings, allow GitHub Actions to create pull requests.
- Public releases require
UTMING_SIGNING_MODE=developer-id; the defaultself-signedmode is for private development builds only. - The Terminal installer requires
UTMING_MAC_SIGNING_CERTIFICATE_SHA256, the expected owner-controlled certificate fingerprint.
Windows signing
Section titled “Windows signing”Windows builds require an owner-controlled Azure Trusted Signing account. Configure the exact publisher name and unique signing profile EKU OID in desktop/runtime/windows-publisher.json. Empty values deliberately leave signed release validation unavailable.
Set UTMING_WINDOWS_SIGNING_ENDPOINT, UTMING_WINDOWS_SIGNING_ACCOUNT, UTMING_WINDOWS_SIGNING_PROFILE, AZURE_TENANT_ID and AZURE_CLIENT_ID in the protected release environment. Never reuse another project’s identity, account IDs or credentials.
A release must verify every executable signature and reject an installer with a different publisher or signing profile. Do not disable verification to get an unsigned public build through.
Create or renew the certificate
Section titled “Create or renew the certificate”Developer ID certificates expire. Apps signed before then keep opening, but releases fail until you renew. Only the Apple account holder, or an admin they allow, can create one.
-
Create a private key and a signing request.
Terminal mkdir -m 700 ~/utming-signing && cd ~/utming-signing/usr/bin/openssl req -new -newkey rsa:2048 -nodes -keyout utming.key -out utming.csr -subj "/CN=the configured publisher/C=DE" -
In the Apple Developer account, open Certificates, select +, then Developer ID Application and G2 Sub-CA. Upload
utming.csrand downloaddeveloperID_application.cerinto the same folder. -
Bundle the certificate with its key and Apple's G2 certificate. Without the G2 certificate, a runner can find no valid signing identity. Use macOS's
/usr/bin/openssl, because the keychain can reject files from Homebrew's OpenSSL.Terminal curl -fsSLO https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer/usr/bin/openssl x509 -inform DER -in DeveloperIDG2CA.cer -out g2.pem/usr/bin/openssl x509 -inform DER -in developerID_application.cer -out utming.pem/usr/bin/openssl pkcs12 -export -inkey utming.key -in utming.pem -certfile g2.pem -out utming.p12 -
For a new notarization key, open App Store Connect → Users and Access → Integrations → App Store Connect API → Team Keys. Generate a key with the Developer role and download it. Apple offers the download only once.
-
Save
utming.p12, its password and the.p8key in the company password manager. Set the values above, then delete the folder.
Desktop binaries use release assets from the Utming GitHub repository. An independent public release requires accessible assets and owner-controlled signing. The source does not use the original Nod download broker.
Release a version
Section titled “Release a version”-
Write the public highlights in a Markdown file. Start Release desktop on
mainwith the CLI so line breaks are kept. Set version or leave it empty for the next patch:Terminal window gh workflow run prepare-desktop-release.yml --repo inlevel9-com/utming.com --ref main \--raw-field version=0.8.0 --field highlights=@/tmp/utming-release-highlights.md -
The workflow opens or resets the
release/desktoppull request as a draft. It changes only the desktop version, the release manifest and the changelog. The manifest saves the public highlights and starts withvideo: null. The changelog lists the source changes by Conventional Commit type. A missing video does not block release checks. -
Have the coding agent try to make the release video. Attach it and commit its metadata only if it meets the skill's quality standard. Otherwise, leave
video: null, explain why in the PR, and continue with text notes. Review the copy, facts, available video, and upgrade instructions. Then mark the PR ready for review. -
Merge after review and CI. If
mainchanges before you merge, run Release desktop again with the highlights. Update them if the new source changes what users can do. The workflow clears the old video metadata. Changes to the version, source, or highlights require a new video orvideo: null. -
Wait for CI on the reviewed release commit, then explicitly dispatch Build desktop release only after publication is authorized. The release workflow builds all four platform bundles and signs the Mac and Windows apps. It checks Mac updates, signature rejection and profile preservation on both Mac architectures. It also checks signing, runtime hashes, Windows workspace paths, installation, startup, updates and downloaded installer bytes. On Windows, every
.exe,.dlland.nodefile in the installed app,Uninstall.exeand the installer itself must carry a valid, timestamped the configured publisher signature. Files identical to ones Windows ships, such asd3dcompiler_47.dll, are signed too, but Windows reports its own catalog signature for them, so the check accepts that instead when Microsoft signed it. The workflow verifies uploaded hashes, publishes the release, then uses the app's own update code to check the Mac and Windows update platforms. Verify direct GitHub delivery for every release asset. GitHub can take a few minutes to offer the new version on every platform, so the check waits up to five minutes. If delivery still fails, the release goes back to draft. When GitHub was only slow, re-run the failed job.
The publisher puts the reviewed video first when one is available, followed by the highlights and download links for the release version. Without a video, it starts with the highlights. It puts the full changelog, installation requirements, and build details in a collapsed section. The copy and video metadata are part of the release source, so they survive retries and recovery. CI does not call a model to create or change them. Recovery keeps the original format of older saved releases without video metadata or highlights.
Make the release video
Section titled “Make the release video”The coding agent that prepares a release must try to create a video with .claude/skills/feature-video/SKILL.md. This also applies to releases that contain only fixes. An authorized release PR includes attaching a video that meets the skill's quality standard. It does not authorize a merge or publication.
If the video fails quality checks, cannot be made, fails validation, or cannot be uploaded, continue with text notes. Leave video: null in the manifest. Explain the specific reason in the PR without secrets or private content. Remove a rejected video from the PR description. Do not lower the quality standard or delay the release for a video. Normal release review and checks still apply.
-
Check out the draft
release/desktopbranch in a clean checkout. Read itsdesktop/release.json. Use the savedversionandhighlightsas the video copy source. -
Capture the real frontend at the saved
sourcecommit in a separate detached worktree. Use synthetic fixtures. Keep captures and rendered files outside the repository. A published tag is not needed. -
Render and inspect the MP4, poster, and contact sheet as the skill directs. If it fails quality checks, use the text notes fallback above. For fixes, make the opening frame show that this is an improved Utming. Show specific corrections and invite users to update. Use an animated text summary when there is no useful screen. Do not invent features, demonstrations, or measured improvements.
-
Attach the MP4 to the draft release PR. Use a GitHub CLI version whose
gh pr edit --helplists--attach, or attach it through GitHub in the browser. GitHub documents the CLI upload. Keep the PR description in a temporary file and preserve its existing text when using--body-file. Check the resulting player and copy itshttps://github.com/user-attachments/assets/…URL. Do not add the video as a release asset: older app updaters accept at most 30 assets. -
Record the URL on the draft release branch. Replace
VIDEO_URLwith the attachment URL:Terminal window node .github/scripts/prepare-desktop-release.mjs --video VIDEO_URLgit add desktop/release.jsongit commit -m 'chore(release): add the release video'node .github/scripts/prepare-desktop-release.mjs --checknode .github/scripts/prepare-desktop-release.mjs --notes /tmp/utming-release-notes.md -
Push the manifest update to the authorized release PR. Check the video without signing in, read the generated notes, and mark the PR ready after review. If the version, source, or highlights change, regenerate the video before recording a new URL. If a new video cannot meet the standard, clear the saved video and continue with text notes.
The optional video object saves its attachment url and a releaseSha256 digest of the version, source commit, and highlights. Missing video metadata and video: null are accepted. Checks reject malformed video metadata and mismatched digests. Clear rejected video metadata to continue without it. The digest binds the recorded metadata; a reviewer must still check the video's claims, quality, and public access.
Write release highlights
Section titled “Write release highlights”Write the highlights before preparing an Utming release. Describe only changes included in that version, including fixes and any action users need to take. Review the copy with the release PR before publishing. Utming starts at version 0.1.0; its inherited changelog is source history, not a list of published Utming releases.
Who reads them. Write for someone who runs their own business or a small team and has never opened a terminal. They know what Utming does for them, not how it works inside. Tell them what they can do now, what they will notice, and what they no longer need to worry about.
What gets a section. Ask of each change: would we write about it if it were the only change in this release? If yes, it can have a section. If not, give it one bullet under Also in this release, or leave it to the changelog. Use at most three sections, and lead with the change most people will use.
Fix releases. When no change passes that test, write no sections. Write one short bullet under Fixed in this release for each fix that users reported or that many users would notice. Each says what went wrong for the user and what works now, and what to try when that helps. Put any action the user must take first. Keep each bullet to one or two sentences and the note under about 200 words. Leave fixes that only a few setups would notice to the changelog, but never drop a required action.
Headings. Say what the user can do or what changed for them, such as “A model for each job” or “Run a schedule right now.” Skip wordplay that hides the subject, such as “Background checks take a breath.” One relevant emoji per heading is enough.
Plain words. Describe the effect, not the mechanism. Leave out status codes, error strings, internal component names, services the user never sees, file system names and model internals. Name a service only when the user picks it or sees it in Utming, such as Gmail, Attio or OpenAI. If a detail only helps support, say what to share and where. If a change has no effect the user can notice, leave it to the changelog.
| Instead of | Write |
|---|---|
| After a known connection-service 429 or 503, Gmail waits for its next scheduled inbox check. | When the connection service turns a request away, Gmail waits for its next check instead of retrying at once. |
| On managed networks, the local engine uses private CAs trusted by your operating system for Composio HTTPS. | Apps now connect on company networks that use their own security certificates. |
| Unchanged sources skip the monitoring model check. | Utming no longer spends budget checking apps where nothing changed. |
| Periodic app checks spread across the five-minute cycle while keeping their cadence. | Leave it out. Nothing changes for the user. |
Sentences. Give each sentence one idea. Most sentences should be 20 words or fewer; split any over 30. Use “you” and direct verbs. Write settings paths as Settings → Models. Bold only labels people see in Utming and bullet lead-ins. Don't use em dashes. Call an unfinished feature a preview, not a beta.
Tone. Plain first, friendly second. A concrete example or a prompt to try, such as “Try telling Utming: ‘Run my schedules on the light model,’” does more than a joke. Avoid slogans, abstract promises and claims such as “game-changing.”
Facts. Check each claim against the changes since the previous release. State previews and limits. Keep any required upgrade action visible. Plain words must not change the claim:
- Don't round a specific case up to a broader one. A fix for clocks that run fast is not a Windows fix, and a usage limit is not “busy.”
- Don't add advice, steps or numbers the change doesn't support, such as “try again in a few minutes” or “costs less,” unless someone measured it.
- When a change only adjusts how the model is guided, or wasn't tested against the real service, say what Utming now tries to do, not what it always does.
Length. Aim for 120–250 words in a feature release. A fix release is usually shorter, but its length follows the number of fixes.
Media.
- Try to create a separate video for each release. If it cannot meet the quality standard, use text notes. Add a compact screenshot, short GIF, or demo link when it helps. Show product UI with synthetic data and label example data. Check that the media loads.
- Use public media URLs, pinned repository images, or GitHub attachments. Do not add media as a release asset: older app updaters accept at most 30 assets.
- Leave download links and the commit list to the publisher. Highlights are required Markdown, up to 8 KiB. They can contain media links.
Utming releases use utming-v* tags and the inlevel9-com/utming.com repository. Install and update assets must belong to that repository. No original Nod release is an Utming update.
There's no daily release. Only a merged release pull request, which changes desktop/release.json, starts Build desktop release; other merges to main don't run it. The capability evals don't gate publication.
Merges to main run the native update fixtures on both Mac architectures and the Windows setup checks when their desktop inputs change. The Windows update fixture runs each night and on manual CI runs. Pull requests and the merge queue skip all of them. These fixtures check secure storage, installer failures and saved-profile preservation without publishing a release. To run them on your branch, see Test on Windows runners.
Each night, and when you start CI by hand on a branch, a Windows runner also checks a real first setup, update and next start. It turns on real-time virus scanning, installs the latest published release, opens it and waits for the private computer and background service, trying again up to twice if that release fails to start. It then installs the current build over it, opens Utming again and checks a later start too. The job reuses the published Windows runtime that matches the source, or the latest published one. Build desktop release runs the same check on the installer it built.
The release build's Windows check also stops the WSL service to confirm that Utming reports the Windows error in readable text with the code that offers Install WSL, plants a half-installed WSL distribution to confirm that setup replaces it, and installs the private computer in a chosen folder.
Pull requests that change Linux build inputs also run Build Linux desktop. It builds and installs the Flatpak preview, checks its engine and bundle, and uploads the files. Build desktop release packages all desktop apps and verifies their release assets before publication.
The required Checks, tests and build result waits for both Mac update checks. If either Mac check fails, that required result fails too.
Inspect or recover a build
Section titled “Inspect or recover a build”The Build desktop release workflow runs on main by hand for a draft or a recovery run.
| Input | Off | On |
|---|---|---|
| automatic | Use the version and notes from the merged release pull request | Pick the next patch without a version pull request. Use for recovery only. |
| publish | Leave a draft to inspect | Publish after every check passes |
When automatic is on, also supply highlights. The video input is optional. When available, supply the JSON video object for the selected version, exact main commit, and those highlights. A candidate automatic plan can be saved outside the repository and completed with node .github/scripts/prepare-desktop-release.mjs --video VIDEO_URL /tmp/utming-release-plan.json. Pass only its video object as the workflow input. Omit the input when a video cannot be made or does not meet the quality standard. The source-bound release plan saves the copy and optional video metadata. Normal builds use the merged version PR's metadata.
Release builds run one at a time, and up to 100 runs can wait in the queue. A failed build can reuse its matching draft. Published assets are never replaced.
The publisher retries a GitHub server error (HTTP 5xx) three times, waiting 15, 30 and 60 seconds. When creating the draft fails that way, it looks the draft up by tag before trying again and reuses one GitHub created anyway, instead of creating a second one. If only the final publisher fails, fix the publisher, then run Recover desktop release on main with the failed run ID within three days, while its artifacts are retained. It requires all platform builds and checks, and CI on their exact source, to have passed. It uses the current publisher with the original signed files and saved release context, plus the release plan for automatic releases. It verifies their source and hashes, then publishes without rebuilding the apps. If repository visibility changed since the build, start a new release build instead. When a build fails and can't be recovered, run Release desktop again. A version that was prepared but never published is free to use again, and its unpublished changelog entries are replaced.
Release jobs require separately configured platform runners and signing credentials. Both Mac apps build on Apple silicon. The Intel app uses x64 Node under Rosetta. Windows jobs use GitHub's Windows runners because the installer check needs WSL 2.
Docker build caching depends on the runner and builder selected by the operator. Utming does not assume access to the original project’s private runner or disk-cache service.
Update checks run alongside the builds. App jobs can install dependencies and build the source while their runtimes are prepared. Each Mac job waits only for its own images. It then signs its runtime and app. The final job downloads platform artifacts in parallel. It checks all four platform bundles, then uploads their files together. It downloads the installers, Mac ZIPs, Windows runtime, Linux bundle and Linux runtime pack to check their bytes before publication.
Developer ID builds submit the signed app to Apple and attach its ticket before they create the disk image and update ZIP. The build then submits the signed disk image and attaches its ticket. It mounts the finished disk image, copies its app to a temporary folder, and checks the app's signature, attached ticket and Gatekeeper result. A failed check stops the release. Runtime host tools have a separate notarization check because the app downloads them separately. ZIP and disk image creation run in parallel.
The Mac build logs show separate times for signing, notarization, ZIP creation, and disk image creation. Use these times and the Actions step times to compare releases. Compare runtime rebuilds with other rebuilds, and runtime reuse with other reuse runs.
How installed apps update
Section titled “How installed apps update”Drafts are never offered to the installer or the updater.
- Mac and Windows apps check at startup, even when their runtime fails to start, every six hours while open, and after waking if a check is due. Check for Updates… checks right away. A Linux Flatpak installed from a repository checks every 30 minutes whether the Flatpak portal found a new commit. Linux bundle installs have no repository, so their users install the next bundle.
- After a failed automatic check, Utming retries after one minute, doubling up to 15 minutes, and the menu shows Update Failed. Try Again…. Waking the computer retries a failed check at once.
- Existing private-service builds try up to three newer releases and offer the first complete one. Public GitHub builds use the latest regular release and fail closed if its platform files are incomplete. The publisher checks all four bundles before publication and returns a release to draft if public asset delivery fails.
- A Mac app outside Applications offers to move itself there at startup, because it can update itself only from Applications.
- Updates download in the background. While a runtime pack or Windows installer downloads, the update menu item shows its percentage. On a Mac with a running local VM, Utming tries to load the new runtime's images before restart; a deferred or failed preload leaves that work for startup. Windows applies a changed WSL runtime after restart.
- Newer builds show a ready update in the app with its version and Restart to update and Later actions. Older builds may show only the menu action. Later dismisses the notice for that version during the current app session; the menu still offers Restart to update. An automatic check also announces it with a system notification when Utming is in the background, notifications are on and quiet hours allow it. Background checks never open a dialog.
- If a reply, schedule or background check is running, or Utming can't tell, it asks before restarting. While Utming shuts down to install, its window shows Updating Utming…, and an unsent feedback draft or unsaved setting can't hold the install back.
- If the runtime hasn't changed, Utming reuses it and downloads only the app or installer.
- A Mac runtime is rebuilt when one of its inputs changes, or by the first release built in a new week (below). Its inputs are the browser worker and its imports, the root lockfile's entries for the packages the browser image bundles or builds with (the worker's imports, agent-browser and esbuild) and their dependencies, the pnpm version,
pnpm-workspace.yaml, the desktop lockfile, scripts the images copy, Dockerfiles, pinned downloads, and runtime build scripts. Other root dependency changes, workflow changes and edits to the fingerprint script alone do not rebuild it. Other app changes reuse the published runtime. A test fails when a runtime build script or Dockerfile reads a repository file the fingerprint does not cover, or when the browser bundle includes a package whose lockfile entry it does not cover. - A Windows runtime follows the same rule, plus its own Dockerfile, guest script and build script. When it hasn't changed, the release build downloads the published one, checks it against its manifest and GitHub's asset digest, and runs the full Windows install check on it. A Windows install that already has that runtime then updates with only the installer.
- The first release built in a new week (from Monday, UTC) rebuilds both runtimes and refetches the images' system packages, such as Chromium, instead of reusing Docker's cached layers. Later releases that week reuse them. A week without a release build ships no refresh.
- A Windows app refuses a downloaded installer unless the configured publisher signed it with the configured signing profile.
- On Windows, the restart runs the verified installer silently over the current install, then opens Utming again. The installer moves the previous version's
resourcesfolder aside before it copies the new one and deletes it afterward, so files a release retired don't stay behind; it keeps the runtime archive stored there. If that folder can't be moved because a file in it is open, the installer stops before it replaces the currentresourcesfolder. The profile is kept. Utming starts the install script throughStart-Processand waits for that to succeed before it quits, because a PowerShell process spawned detached from Utming exits before it runs anything. The Windows update check starts its final update from the running fixture app the same way.
Help with desktop installation
Section titled “Help with desktop installation”Mac users need an Intel or Apple silicon Mac, and a supported provider API key or a ChatGPT Plus or Pro plan. They copy Utming to Applications, or run the Terminal installer, and approve the Keychain prompt if macOS shows it. Managed Macs may need IT approval. The first start downloads the runtime, so it needs an internet connection.
Windows users can run the PowerShell installer or download and run utming-Setup-x64.exe from the latest release. The first start downloads the runtime, unless utming-Runtime-win32-x64.tar.gz sits next to the installer. After that, Utming updates itself.
| Situation | What to know |
|---|---|
| Not enough storage | On a Mac, Utming needs the runtime's extracted size plus 512 MiB, and the error says how much to free. On Windows, it needs room for two copies of the expanded computer, its images, the rest of the download and 2 GiB. Free space and retry. Existing data is kept. |
| Setup was interrupted | Retry it. A stopped download continues where it stopped, unless a Mac had no room to keep the downloaded part. |
| It still fails | Open Report bug in Chat, review the selected diagnostic report, and send. If Chat can't open, select Report bug on the setup error screen; if Utming can't restart, select Show startup log and describe the visible setup error. |
| Starting over | Select Remove all data… in the Utming menu. It deletes the profile and private computer, keeps the runtime, then restarts and opens setup. |
The report includes recent messages, tool inputs and results, errors, and app activity after best-effort redaction. Review it for personal details before sending, or untick Include diagnostic report. It excludes screenshots, binary data, system prompts, and model thinking. Database and journal sections mark unavailable sources and omitted entries. See Report contents and limits. If preparation fails, select Continue without report, then Send feedback. Your text and selected attachments stay in the draft; check these for personal information.
In development, Copy report copies the same report without sending it. UTMING_FEEDBACK_URL changes where feedback goes, and an empty value turns sending off.
Test a local Mac build
Section titled “Test a local Mac build”Use the isolated test installer to try onboarding without changing your normal Utming app, accounts, or computer. It installs utming Setup Test in your user Applications folder and disables updates for that build.
Build the current source first. The helper verifies and reuses the runtime already cached by /Applications/Utming.app, so it doesn't copy or download another runtime:
pnpm --dir desktop install --frozen-lockfilepnpm run buildnode desktop/scripts/test-install.mjs buildnode desktop/scripts/test-install.mjs fresh first-runfresh gracefully closes the previous test instance and creates a new profile with its own computer and empty account storage. It refuses an existing profile name. Omit the name to generate one. It never removes an earlier profile.
To reopen the last test profile, or an earlier named one:
node desktop/scripts/test-install.mjs opennode desktop/scripts/test-install.mjs open first-runnode desktop/scripts/test-install.mjs stopTest profiles live under ~/Library/Application Support/utming Setup Test/test-profiles. Rebuilding the test app preserves them. The helper accepts an installed engine directory after build when the cached runtime comes from another local installation.
This is an ad-hoc signed local app, not a release. It reuses the cached workspace and browser images; it doesn't verify a newly built runtime image or release signing.
Build a Linux Flatpak
Section titled “Build a Linux Flatpak”The Linux app is a Flatpak preview, and this workflow also builds a Fedora RPM. As on a Mac and Windows, local setup downloads a matching runtime pack from the release; the Flatpak itself does not include it. Build Linux desktop builds and checks the x64 package. The desktop release workflow calls it and includes its files in the release. You can also run it separately from Actions to get the desktop-linux-x64 and desktop-linux-x64-rpm artifacts. On pull requests, this check runs only for desktop/flatpak/**, desktop/rpm/**, desktop/assets/**, desktop/scripts/*linux*.mjs, desktop/scripts/rpm-release.mjs, desktop/scripts/*linux*.py, desktop/scripts/runtime-pack.mjs, desktop/scripts/runtime-inputs.mjs, desktop/scripts/release-tools.mjs, desktop/scripts/runtime-build-lock.json, desktop/runtime/assets.mjs, desktop/test/*linux*.test.mjs, and desktop/test/runtime-assets.test.mjs. Other shared build files use standard CI. Run the package workflow from Actions when those changes need a Linux package check.
CI installs Flatpak and flatpak-builder from the Ubuntu package archive. It does not need an extra package source. The manifest installs Meson libraries in /app/lib so QEMU can find its local dependencies.
CI installs the bundle and checks its server imports and native image library inside Flatpak. It does not verify a complete chat, secure storage, desktop integration, or KVM startup. Check those on a Linux desktop before wider distribution. Linux ARM builds are not published.
To build locally, use a 64-bit Linux computer with Docker and flatpak-builder. Running a local assistant also needs access to /dev/kvm:
flatpak install --user flathub org.freedesktop.Sdk//25.08 org.electronjs.Electron2.BaseApp//25.08pnpm install --frozen-lockfilepnpm --dir desktop install --frozen-lockfilepnpm run buildpnpm run desktop:preparepnpm run desktop:linux:buildflatpak-builder --user --install --force-clean .local/utming/flatpak-build desktop/flatpak/com.utming.desktop.ymlflatpak run com.utming.desktopdesktop:prepare builds the workspace and browser images and downloads the pinned Lima, Docker and Ubuntu files. desktop:linux:build packages the app in dist/desktop/Utming-linux-<arch>, and the manifest builds QEMU, libslirp and the OpenSSH client that Lima needs.
The Flatpak gets KVM, network, display, audio, notification, tray and Secret Service access, and your home folder and external drives under /media and /run/media for Local files and downloads, as the Mac and Windows apps have. The VM lives in ~/.utming-desktop, as on a Mac.
Release builds export a stable Flatpak bundle with Flathub as its desktop runtime source. They install it and check the engine. Publication verifies the source, Flatpak commit and bundle checksum. Linux files use the same release provenance checks as the other platforms. Recovery requires the Linux build to pass and keeps its original files.
Official Linux builds use the release environment on main. Like Mac and Windows builds, they include its UTMING_TRACES_TOKEN for opt-in conversation traces and mark the build as a release. Pull request and manual preview builds use the separate linux-preview environment. Preview builds remain separate from published releases.
The release bundles are not on Flathub and carry no repository address. An installed Flatpak updates itself only when its origin is a remote that serves an OSTree repository with the same app ID and stable branch, signed with a key the remote trusts. Static deltas must be generated after the commit is signed, or installs fail with "GPG verification enabled, but no signatures found". Utming reads release-linux-x64.json from the latest GitHub release and installs the portal's new commit only when its Flatpak commit matches that manifest. A release that adds Flatpak permissions needs flatpak install --user --reinstall com.utming.desktop//stable once. A bundle install has no repository, so install the next bundle with the Linux installation procedure.
node desktop/scripts/linux-repo.mjs <repository> turns a checked bundle in dist/desktop/linux-x64 into that repository. It imports the bundle, checks that the repository's stable commit equals the manifest's commit, signs the commit and generates pruned static deltas. Set UTMING_FLATPAK_REPO_KEY to the GPG key ID, UTMING_FLATPAK_GPG_HOME to its keyring if it is not the default, and UTMING_DESKTOP_VERSION and UTMING_RELEASE_SOURCE as for linux-release.mjs. Run it on the same repository directory for every release, so each new commit gets a delta from the previous one, then sync the directory to the host. Where that host is and who holds the key is not decided yet.
Build a Fedora RPM
Section titled “Build a Fedora RPM”Build Linux desktop also builds an x64 RPM when you run it from Actions or for a pull request that touches desktop/rpm/**. It runs in a fedora:45 container, installs the RPM with dnf and checks that the app's libraries resolve, that QEMU, qemu-img and ssh are installed, that chrome-sandbox is setuid and that the server imports and native image library load. The desktop-linux-x64-rpm artifact holds utming-linux-x64.rpm and its checksum. Release runs skip this step, and the RPM is not published with a release.
The RPM installs the app in /usr/lib/utming and depends on Fedora's own qemu-system-x86-core, qemu-img and openssh-clients instead of bundling them, so Lima uses Fedora's QEMU. Like the Flatpak, the RPM does not include the runtime pack; local setup downloads it from the release. Fedora 45 ships QEMU 11.1.2. Fedora 44 ships 10.2.2, which CI does not test. The check does not start the VM, because the runner has no KVM, so start a local assistant on a Fedora desktop before distributing it. Open at login writes an autostart entry that runs utming.
To build locally, package the app as for the Flatpak, then run UTMING_DESKTOP_VERSION=<version> desktop/rpm/build-rpm.sh as root in a Fedora container with the repository mounted.
An RPM install shows a notice when a newer release exists. Utming reads release-linux-x64-rpm.json from the latest GitHub release: platform linux-x64-rpm, version, source, and rpm with file utming-linux-x64.rpm, bytes and sha256. node desktop/scripts/rpm-release.mjs [directory] writes it next to the RPM, using UTMING_DESKTOP_VERSION and UTMING_RELEASE_SOURCE. The release must also carry the RPM, and a dnf repository must serve it, or the notice's command finds nothing. The RPM is not yet a release asset, so builds that check before one is published retry quietly and show nothing.
Signing limits
Section titled “Signing limits”Mac builds are signed with the configured Apple Developer ID and notarized by Apple after release configuration. Windows builds use the configured publisher and signing profile. SmartScreen can still warn about a new release until Windows trusts its reputation.
Updates check the new build against the configured Apple team, or the Windows certificate profile, not one certificate, so a renewed certificate doesn't break them. macOS can still ask for Keychain approval. Utming explains that prompt before it reads saved API keys.
GitHub-hosted Mac runners can't run nested virtualization. CI checks binaries and packaging, but it can't prove Utming's private computer boots on a real Mac.
The native update checks cover both Mac key storage names in a disposable Keychain. They check an upgrade from the original name and migration of values saved by 0.4.0. Both paths must keep the vault key, server token, and integration identity. A second read must leave the saved settings unchanged. The install case also opens the old app again while it quits to install. That copy must close at once, and the new version must still install and open.
Physical Mac checks before wider distribution
Use disposable profiles and synthetic content on a physical Apple silicon Mac.
- Fresh profile: install, pass the first-launch gate, connect a model, finish onboarding, and confirm the runtime is prepared and the workspace and browser work.
- Upgrade: start from the previous Utming release. Try Later and Restart, then confirm settings, conversations, workspace and browser state survive and an unchanged runtime is reused.
- Daily use: check login startup, notification text and clicks, quitting, and retry after an interrupted install.
- Oldest macOS: run on the oldest advertised macOS version.