Two halves

Every install lays down the same two things:

  • The nushell package — pkg/thinslice/: the slice entry script, lib/*.nu (db, migrations, reporting, reconcile, workspace), and commands/*.nu (use, give-me-a-port, cleanup, worktree, lifecycle, debug, setup, inspect, state).
  • The give-me-a-port binary — a native helper written in Zig, cross-compiled with zig build for x86_64 and aarch64 across linux-musl, macOS, and Windows.

Everything below is packaging and delivery around those two.

Build, sign, notarize

The pipeline runs on Forgejo Actions, triggered by a tag. It assembles the package and the per-platform binary into thinslice-<version>-<platform>.tar.gz (Unix) or .zip (Windows).

  • macOS: codesign with the "Peoples Grocers LLC" Developer ID, then Apple notarization via notarytool. The wait-and-staple step runs as a Temporal workflow.
  • Windows: Azure Trusted Signing via signtool.

Distribution

  • Archives uploaded via download-page-kit.
  • Chocolatey (Windows): a nuspec that depends on nushell and uses Install-BinFile to put slice on PATH.
  • CLI installer scripts: thinslice-installer (POSIX) and thinslice-installer.ps1 (PowerShell), plus a slice.cmd shim on Windows.

Where the graphical installer fits

The graphical installer does not replace the package — it wraps it. Double-clicking lays down the same pkg/thinslice payload and give-me-a-port binary, ensures nushell is present, and puts slice on PATH. It is signed and notarized (macOS) / signed (Windows) for the same Gatekeeper/SmartScreen reason the archives are: a non-technical user never hits the "unidentified developer" wall.

Artifacts per platform

PlatformArtifactSignedNotarizedInstall methods
macOS.tar.gz, graphical installerYes (Developer ID)Yes (notarytool)CLI script, graphical installer
Windows.zip, graphical installerYes (Azure Trusted Signing)N/AChocolatey, PowerShell script, graphical installer
Linux.tar.gzNoN/ACLI script