- Install the Rust programming language toolchain called
rustup
. - Install the latest version of nightly
rust
. - Set the nightly
rust
as the default toolchain for this project. - (optional) Install NodeJS/Bun with npm/yarn/pnpm to run commands from package.json.
- Create
.env
file. - Create inside
.env
a variable calledFOLDER_NAME
, and set one of the allowed values. You can find allowed values inbuild.rs
file.
Build production ready installer:
[yarn/pnpm/npm/bun] run build
# or
cargo clean && cargo build --release
Build development version of installer without any optimizations:
[yarn/pnpm/npm/bun] run build-development
# or
cargo clean && cargo build
Get into target/[debug/release]
folder. There should be a instalator
binary file. Depends on operating system it might be without any extension, or will appear with .exe
extension.