2019-09-05 22:23:51 +01:00
|
|
|
#!/usr/bin/env nix-shell
|
2020-12-16 17:53:58 +00:00
|
|
|
#!nix-shell -i bash -p curl jq common-updater-scripts
|
2019-09-05 22:23:51 +01:00
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
2020-12-16 17:53:58 +00:00
|
|
|
version=$(curl -s 'https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json' | jq -r '."launcher-core"[0].version.name')
|
|
|
|
update-source-version minecraft "${version}"
|