Fetch and unpack selected cfx server builds using cfx changelog API
Execute the following commands in a cmd.exe
shell:
git clone https://github.com/FrazzIe/cfx-server-get.git
cd cfx-server-get
yarn install
Execute the following commands in a cmd.exe
shell:
node index.js <version> <output-directory> <optional: update-check>
<version>:
- recommended
- optional
- latest
- critical
<output-directory>:
- C:\\Path\\To\\File
<optional: update-check>
- Any value
<version>
: The type of server build<output directory>
: The directory the server build will be extracted to (must exist)<optional: update-check>
: An optional argument that will match a cached file and only re-download if a newer version is available