display fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
export DISPLAY=0
|
||||
#export DISPLAY=0
|
||||
|
||||
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
|
||||
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
export DISPLAY=0
|
||||
#export DISPLAY=0
|
||||
|
||||
# Main Install Links
|
||||
SERVER_FILE=https://meta.fabricmc.net/v2/versions/loader/$MC_VERSION/$FABRIC_VERSION/$INSTALLER_VERSION/server/jar
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
export DISPLAY=0
|
||||
#export DISPLAY=0
|
||||
|
||||
# Variables.
|
||||
echo " "
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
export DISPLAY=0
|
||||
#export DISPLAY=0
|
||||
|
||||
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
|
||||
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# All rights reserved
|
||||
|
||||
# Display setup
|
||||
export DISPLAY=0
|
||||
#export DISPLAY=0
|
||||
|
||||
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
|
||||
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||
|
||||
Reference in New Issue
Block a user