# Windows executables

Release 1.0.0 provides two unsigned Windows x64 executables.

## FactorioCalculator-ServerBuild.exe

This portable application contains the complete calculator website, expanded Help and Blueprint generator, starts an HTTP server on `127.0.0.1` and opens the default browser at `/en/`. It does not require a separately installed Node.js runtime and makes no calculation requests to an application backend.

Close its console window or press `Ctrl+C` to stop the local server. If port 4173 is occupied, it automatically tries ports up to 4193.

This executable runs the calculator locally. Do not upload it to STRATO; upload the contents of `factorio-calculator-strato-1.0.0.zip` instead.

## FactorioCalculator-SourceTools.exe

Place this executable in the extracted source folder beside `package.json`. It opens a bilingual menu for:

- installing the locked dependencies with `npm ci`;
- starting the local development server;
- building and verifying the STRATO website;
- running all tests;
- creating release ZIPs; and
- opening the generated `strato-dist` folder.

The source tools deliberately use the system installation of Node.js and npm, because the development dependencies are installed from `package-lock.json`. Node.js 22.13 or newer is required.

The Windows ZIP contains `factorio-calculator-source-1.0.0.zip`, the complete matching GPL source for this build, including the Blueprint generator and launchers. The local website also offers this same source download.

## Rebuilding the Windows executables

Run `npm run package:release` first, then `npm run build:windows`. The SEA builder and Windows x64 runtime must be the same supported Node.js version with `--build-sea` (this release uses 26.8.1). On a non-Windows build host, set `NODE_SEA_BUILDER` to the matching native Node executable, `NODE_SEA_WINDOWS` to the official Windows `node.exe`, and `NODE_SEA_LICENSE` to its unmodified LICENSE file. Source development itself uses the Node version required above.

## Windows SmartScreen

The executables are technically verified but not digitally code-signed. Windows may therefore display a SmartScreen warning on first launch. A trusted publisher label requires a separate code-signing certificate. Always compare the downloaded files with `SHA256SUMS-WINDOWS.txt` before overriding a warning.

The launcher source is included under `windows/` and uses only Node.js built-in modules. The executables use the official Node.js Windows x64 runtime; its license and third-party notices are included with the Windows package.
