Merge branch 'main' into add_self-update_override
This commit is contained in:
commit
338a13288b
1 changed files with 7 additions and 7 deletions
14
start.sh
14
start.sh
|
@ -7,7 +7,7 @@
|
||||||
# and acknowledge the original script and author. #
|
# and acknowledge the original script and author. #
|
||||||
#############################################################################################################
|
#############################################################################################################
|
||||||
|
|
||||||
CURRENT_VERSION="v1.0.2"
|
CURRENT_VERSION="v1.0.3"
|
||||||
|
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
# You shouldn't need to change anything in this file
|
# You shouldn't need to change anything in this file
|
||||||
|
@ -480,6 +480,12 @@ function load_config {
|
||||||
|
|
||||||
# Main function
|
# Main function
|
||||||
function main {
|
function main {
|
||||||
|
# Check dependencies
|
||||||
|
check_dependencies
|
||||||
|
|
||||||
|
# Load config
|
||||||
|
load_config
|
||||||
|
|
||||||
if [[ $check_self_update == true ]]; then
|
if [[ $check_self_update == true ]]; then
|
||||||
# Check for script updates
|
# Check for script updates
|
||||||
check_self_update
|
check_self_update
|
||||||
|
@ -487,12 +493,6 @@ function main {
|
||||||
echo "Skipping script update check."
|
echo "Skipping script update check."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Load config
|
|
||||||
load_config
|
|
||||||
|
|
||||||
# Check dependencies
|
|
||||||
check_dependencies
|
|
||||||
|
|
||||||
# Check if the version and build are valid
|
# Check if the version and build are valid
|
||||||
check_version_valid
|
check_version_valid
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue