refactor: remove inline header_info from addons, use core.func get_header()

- get_header() in core.func now maps APP_TYPE=addon to tools/headers/ path
- Removed 5 duplicate ASCII art header_info functions from addon scripts
- Addons now use the shared header_info() from core.func + tools/headers/ files
This commit is contained in:
CanbiZ (MickLesk)
2026-02-24 13:32:08 +01:00
parent 881eb5bd04
commit fa766d22bf
6 changed files with 3 additions and 79 deletions
-16
View File
@@ -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
# ==============================================================================