Updater for Season 3(and hopefully future ones) of Unbeaten ATs mappack in Trackmania Exchange
- git
- A typescript runtime of your preference (instructions will be for
bun
)
- Clone the project
git clone git@github.com:forsureitsme/tmx-unbeaten-ats.git
- Go to the project directory and install dependencies
cd tmx-unbeaten-ats
bun i
- Adjust environment variables
Create an .env
file at the root and add the SEASON_X_ID
and SEASON_X_SECRET
(where X is the season number) environment variables to it:
# ID of the mappack (Can be found on mappack page)
SEASON_3_ID=
# Mappack secret API Key (Can be found on `Edit Mappack Info` page)
SEASON_3_SECRET=
After setting up, run the following command
bun run index.ts