Building from Source
Building from Source
Prefer to build LakshX yourself? A single entry-point script detects your OS and produces a native installer — a .dmg, .exe, or .deb — so you get the same artifact the downloads page serves, built on your own machine.
Entry point./build.shScriptsOS-Build/
One command
From the repo root, run build.sh. It detects your platform and dispatches to the right per-OS script:
bash
./build.sh # build the installer for this OS./build.sh --check # preflight only: check tools + print the plan./build.sh --help # usageWhat you get
| Platform | Output |
|---|---|
| macOS | LakshX-macOS-<arch>.dmg (drag-to-Applications installer) |
| Windows | LakshX-Windows-<arch>.exe (setup installer) |
| Linux | LakshX-Linux-<arch>.deb |
The OS-Build scripts
The OS-Build/ directory holds the per-platform build logic that build.sh calls into:
build-macos.sh,build-windows.ps1,build-linux.sh— the native packaging steps for each OS.lib-preflight.sh— shared checks for required tools before a build starts.README.md— details and prerequisites.
Check before you build
Run
./build.sh --check first. It runs the preflight and prints the exact command sequence it would execute, so you can confirm your toolchain is ready before committing to a full build.Cross-compiling
Each script builds for the OS it runs on. To produce all three installers you build on each platform (or in CI). Extra arguments pass through to the underlying build, and
VSCODE_ARCH / VSCODE_QUALITY are honored if set.