# Remove backup
rm -rf dist_bk/

# Create backup
cp -r dist/ dist_bk/

# Get new dist
wget https://git.birbmc.com/BirbMC/birbmc.com/releases/download/latest/dist.tar.gz

# Replace existing dist with new dist
rm -rf dist/
mkdir dist
tar -xf dist.tar.gz -C dist

# Get rid of artifact
rm dist.tar.gz
