bach build packs your build folder and settings into a setup file. If your bach.toml describes Windows and macOS, it builds both.
Flags
Output
latest.json, with[updates](when it knows the download address)<name>-Web-Setup.exe, the online installer<name>-Setup-<version>-patch-from-<old>.exe, with--patch-from- component downloads (
.bachpack) - the
-arm64.exefile, ZIPs for zip profiles, the.msi, and the Mac files
Notes
- If the build fails, an existing setup file is left as it was.
- Replacing a setup file that’s open or running fails with a message to close it.
- Sign after building, never before. With
--sign, Bach does it in the right order. - On macOS and Linux, the Windows setup file keeps Bach’s icon. Build on Windows to apply
app.icon. - A
[macos]build writesdist/{name}-Setup-{version}.dmg, or a.zipon a computer that can’t make one. - The same input produces the same file, byte for byte, except with signing or access keys.