display fix
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
||||||
# Display setup
|
# 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')
|
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')
|
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
||||||
# Display setup
|
# Display setup
|
||||||
export DISPLAY=0
|
#export DISPLAY=0
|
||||||
|
|
||||||
# Main Install Links
|
# Main Install Links
|
||||||
SERVER_FILE=https://meta.fabricmc.net/v2/versions/loader/$MC_VERSION/$FABRIC_VERSION/$INSTALLER_VERSION/server/jar
|
SERVER_FILE=https://meta.fabricmc.net/v2/versions/loader/$MC_VERSION/$FABRIC_VERSION/$INSTALLER_VERSION/server/jar
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
||||||
# Display setup
|
# Display setup
|
||||||
export DISPLAY=0
|
#export DISPLAY=0
|
||||||
|
|
||||||
# Variables.
|
# Variables.
|
||||||
echo " "
|
echo " "
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
||||||
# Display setup
|
# 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')
|
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')
|
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
||||||
# Display setup
|
# 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')
|
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')
|
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
|
||||||
|
|||||||
Reference in New Issue
Block a user