add v1.0.3

This commit is contained in:
2024-03-10 21:35:06 -07:00
parent 9404171904
commit a773d80069
4 changed files with 240 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ esac
# install farmer
if [ -z "$UNINSTALL" ]; then
if [ ! -f /usr/local/bin/grlx-farmer ]; then
curl -f -L -s "https://artifacts.grlx.dev/linux/${machine_arch}/v1.0.0/farmer" > /usr/local/bin/grlx-farmer
curl -f -L -s "https://artifacts.grlx.dev/linux/${machine_arch}/v1.0.3/farmer" > /usr/local/bin/grlx-farmer
chmod +x /usr/local/bin/grlx-farmer
fi
@@ -82,7 +82,7 @@ EOF
mkdir -p /etc/grlx
if [ -z "$FARMERINTERFACE" ]; then
FARMERINTERFACE=$(gum input --value="localhost" --prompt="Choose an interface for the farmer: > ")
FARMERINTERFACE=$(gum choose "localhost" "0.0.0.0" --header="Choose an interface for the farmer")
fi
if [ -z "$FARMERAPIPORT" ]; then
FARMERAPIPORT=$(gum input --value=5405 --prompt="Choose a port for the farmer API: > ")