Skip to content

Commit

Permalink
- Implemented Pathfinder into startup to make the api keys work
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Nov 26, 2024
1 parent f9fdc63 commit f119a23
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions mcserver_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
###################################################################

## START OF COUNTING FUNCTIONS
CONFIG_FILE="/root/mcserver_installer/.mcserver_installer_config"
path=$(pwd)
CONFIG_FILE="$path/.mcserver_installer_config"
API_BASE_URL="https://api.realtm.de"

validate_api_key() {
Expand Down Expand Up @@ -3640,11 +3641,6 @@ esac

}

function pathfinder {

path=$(pwd)
}

function dialog_check {
apt-cache policy dialog > dialog.txt
if grep -q none dialog.txt
Expand Down Expand Up @@ -3686,7 +3682,7 @@ distro_check () {
}

## Script Version
scriptversion="15.2"
scriptversion="15.3"
##

## Latest Version
Expand Down Expand Up @@ -3736,7 +3732,6 @@ else
curl_check
compare_version
installed_check
pathfinder
servers_folder
choose_type
fi
Expand Down

0 comments on commit f119a23

Please sign in to comment.