LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.
C cdebiandesktop-environmentebpffirewalllandlocklinuxlinux-distributionopen-sourceprivacyquickjsraspberry-pi-5reactsecuritywaylandwayland-compositor
Imager for the Mac: both processor families, signed, notarized and stapled by build-mac.sh
Federico Pereira16de16eaeb11
diff --git a/desktop/imager/scripts/build-mac.sh b/desktop/imager/scripts/build-mac.shindex 16bafdc..678776e 100755--- a/desktop/imager/scripts/build-mac.sh+++ b/desktop/imager/scripts/build-mac.sh@@ -1,11 +1,24 @@#!/bin/sh# build-mac.sh — the Mac download (.app and .dmg) on a Mac with Rust and Node.# desktop/imager/scripts/build-mac.sh → desktop/imager/target/release/bundle/-# Unsigned by default. With a signing identity in the keychain, set APPLE_SIGNING_IDENTITY (and the-# notarization variables Tauri documents) before running it; see docs/IMAGER.md, "Signing".+# Both processor families. Unsigned by default; with IMAGER_SIGN_IDENTITY (a code-signing identity in+# the keychain) it is signed, notarized with the keychain profile "lordos-notary" and stapled; see+# docs/IMAGER.md, "Signing".set -eucd "$(dirname "$0")/.."npm ci --no-audit --no-fundnode build-web.mjs-npx tauri build --bundles app,dmg-ls -la target/release/bundle/macos target/release/bundle/dmg+rustup target add aarch64-apple-darwin x86_64-apple-darwin >/dev/null+out=target/universal-apple-darwin/release/bundle+if [ -n "${IMAGER_SIGN_IDENTITY:-}" ]; then+ APPLE_SIGNING_IDENTITY="$IMAGER_SIGN_IDENTITY" npx tauri build --target universal-apple-darwin --bundles app,dmg+ for dmg in "$out"/dmg/*.dmg; do+ xcrun notarytool submit "$dmg" --keychain-profile lordos-notary --wait+ xcrun stapler staple "$dmg"+ done+ xcrun stapler staple "$out"/macos/*.app+ spctl -a -vv "$out"/macos/*.app+else+ npx tauri build --target universal-apple-darwin --bundles app,dmg+fi+ls -la "$out"/macos "$out"/dmgdiff --git a/docs/IMAGER.md b/docs/IMAGER.mdindex a0c9bc4..4827c52 100644--- a/docs/IMAGER.md+++ b/docs/IMAGER.md@@ -280,11 +280,15 @@ desktop/imager/scripts/build-mac.sh# desktop/imager/target/release/bundle/dmg/LordOS Imager_0.8.4_x64.dmg (3.7 MB)```-**Signing:** the build is **unsigned**. The repository documents no signing identity for apps, and-the LordOS release key (Ed25519, `~/.config/lordos-release/`) signs release files, not apps, so it-was not used. A code-signing identity can be passed to Tauri (`APPLE_SIGNING_IDENTITY`, plus its-notarization variables) once the maintainer decides which one to use. Unsigned, the first launch-needs a right click → Open.+**Signing (since 2026-10-19):** the download is built for both processor families+(`--target universal-apple-darwin`), signed with the maintainer's code-signing identity (team+`UR4X327NVD`, hardened runtime, timestamp), notarized and stapled, so it opens without warnings.+`scripts/build-mac.sh` does all of it when `IMAGER_SIGN_IDENTITY` is set and a notarization profile+named `lordos-notary` exists in the keychain (created once by the maintainer with+`xcrun notarytool store-credentials lordos-notary --apple-id <id> --team-id UR4X327NVD`; the+password never goes into the repository or a script). The LordOS release key+(`~/.config/lordos-release/`) signs release files, not apps, and is not used here. Without+`IMAGER_SIGN_IDENTITY` the build stays unsigned and the first launch needs a right click → Open.### Linux download