Merge branch 'main' into add_self-update_override

This commit is contained in:
Jiří Štefka 2023-02-24 19:16:25 +01:00 committed by GitHub
commit 338a13288b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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