mirror of
https://github.com/gogrlx/bootstrap.grlx.dev.git
synced 2026-04-02 02:59:05 -07:00
add v1.0.3
This commit is contained in:
@@ -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: > ")
|
||||
|
||||
Reference in New Issue
Block a user