images/factorio/create.sh

8 lines
158 B
Bash

#!/bin/zsh
if [[ -z $VERSION ]] ;
then VERSION=$(\
curl https://factorio.com/api/latest-releases | \
jq -r .stable.headless\
);
fi;