diff --git a/misc/core.func b/misc/core.func index c0460c0ff..b7ae82ed3 100644 --- a/misc/core.func +++ b/misc/core.func @@ -788,7 +788,9 @@ exit_script() { get_header() { local app_name=$(echo "${APP,,}" | tr -d ' ') local app_type=${APP_TYPE:-ct} # Default to 'ct' if not set - local header_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/${app_type}/headers/${app_name}" + local header_dir="${app_type}" + [[ "$app_type" == "addon" ]] && header_dir="tools" + local header_url="https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/${header_dir}/headers/${app_name}" local local_header_path="/usr/local/community-scripts/headers/${app_type}/${app_name}" mkdir -p "$(dirname "$local_header_path")" diff --git a/tools/addon/coolify.sh b/tools/addon/coolify.sh index 8b8d4c4c5..bea1f0ae4 100644 --- a/tools/addon/coolify.sh +++ b/tools/addon/coolify.sh @@ -34,22 +34,6 @@ DEFAULT_PORT=8000 # Initialize all core functions (colors, formatting, icons, STD mode) load_functions -# ============================================================================== -# HEADER -# ============================================================================== -function header_info { - clear - cat <<"EOF" - ______ ___ ____ - / ____/___ ____ / (_)/ __/_ __ - / / / __ \/ __ \/ / / /_/ / / / -/ /___/ /_/ / /_/ / / / __/ /_/ / -\____/\____/\____/_/_/_/ \__, / - /____/ - -EOF -} - # ============================================================================== # UNINSTALL # ============================================================================== diff --git a/tools/addon/dockge.sh b/tools/addon/dockge.sh index 8009ec168..f76a9a0d7 100644 --- a/tools/addon/dockge.sh +++ b/tools/addon/dockge.sh @@ -36,22 +36,6 @@ DEFAULT_PORT=5001 # Initialize all core functions (colors, formatting, icons, STD mode) load_functions -# ============================================================================== -# HEADER -# ============================================================================== -function header_info { - clear - cat <<"EOF" - ____ __ - / __ \____ _____/ /______ ____ - / / / / __ \/ ___/ //_/ __ `/ _ \ - / /_/ / /_/ / /__/ ,< / /_/ / __/ -/_____/\____/\___/_/|_|\__, /\___/ - /____/ - -EOF -} - # ============================================================================== # UNINSTALL # ============================================================================== diff --git a/tools/addon/dokploy.sh b/tools/addon/dokploy.sh index afe7d3fe8..95ac4a7a2 100644 --- a/tools/addon/dokploy.sh +++ b/tools/addon/dokploy.sh @@ -34,22 +34,6 @@ DEFAULT_PORT=3000 # Initialize all core functions (colors, formatting, icons, STD mode) load_functions -# ============================================================================== -# HEADER -# ============================================================================== -function header_info { - clear - cat <<"EOF" - ____ __ __ - / __ \____ / /______ / /___ __ __ - / / / / __ \/ //_/ __ \/ / __ \/ / / / - / /_/ / /_/ / ,< / /_/ / / /_/ / /_/ / -/_____/\____/_/|_| .___/_/\____/\__, / - /_/ /____/ - -EOF -} - # ============================================================================== # UNINSTALL # ============================================================================== diff --git a/tools/addon/komodo.sh b/tools/addon/komodo.sh index a3a4b4cd8..fb2e50161 100644 --- a/tools/addon/komodo.sh +++ b/tools/addon/komodo.sh @@ -30,21 +30,6 @@ DEFAULT_PORT=9120 # Initialize all core functions (colors, formatting, icons, STD mode) load_functions -# ============================================================================== -# HEADER -# ============================================================================== -function header_info { - clear - cat <<"EOF" - __ __ __ - / //_/___ ____ ___ ____ ____/ /___ - / ,< / __ \/ __ `__ \/ __ \/ __ / __ \ - / /| |/ /_/ / / / / / / /_/ / /_/ / /_/ / -/_/ |_|\____/_/ /_/ /_/\____/\__,_/\____/ - -EOF -} - # ============================================================================== # HELPERS # ============================================================================== diff --git a/tools/addon/runtipi.sh b/tools/addon/runtipi.sh index 9d7305333..dbd7fa2d8 100644 --- a/tools/addon/runtipi.sh +++ b/tools/addon/runtipi.sh @@ -34,21 +34,6 @@ DEFAULT_PORT=80 # Initialize all core functions (colors, formatting, icons, STD mode) load_functions -# ============================================================================== -# HEADER -# ============================================================================== -function header_info { - clear - cat <<"EOF" - ____ __ _ _ - / __ \__ ______ / /_(_)__ (_) - / /_/ / / / / __ \/ __/ / _ \/ / - / _, _/ /_/ / / / / /_/ / ___/ / -/_/ |_|\__,_/_/ /_/\__/_/_/ /_/ - -EOF -} - # ============================================================================== # PROXMOX HOST CHECK # ==============================================================================