display fix

This commit is contained in:
2024-04-26 10:17:57 -07:00
parent d60da1d137
commit 403bba9010
5 changed files with 5 additions and 5 deletions

View File

@@ -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')

View File

@@ -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

View File

@@ -3,7 +3,7 @@
# All rights reserved # All rights reserved
# Display setup # Display setup
export DISPLAY=0 #export DISPLAY=0
# Variables. # Variables.
echo " " echo " "

View File

@@ -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')

View File

@@ -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')