A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
30 lines
1.0 KiB
Bash
Executable File
30 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
appScanAvailable()
|
|
{
|
|
if [ -d "$install_containers_dir" ]; then
|
|
echo ""
|
|
echo "Folders in $install_containers_dir:"
|
|
echo ""
|
|
for folder in "$install_containers_dir"/*/; do
|
|
local folder_name=$(basename "$folder")
|
|
local config_file="$folder/${folder_name}.config"
|
|
if [ -f "$config_file" ]; then
|
|
local category_var="CFG_${folder_name^^}_CATEGORY"
|
|
local title_var="CFG_${folder_name^^}_TITLE"
|
|
local description_var="CFG_${folder_name^^}_DESCRIPTION"
|
|
local category="${!category_var}"
|
|
local title="${!title_var}"
|
|
local description="${!description_var}"
|
|
if [ -n "$folder_name" ] && [ -n "$category" ]; then
|
|
echo "$category - $title ($description)"
|
|
fi
|
|
else
|
|
echo "No ${folder_name}.config file found in $folder"
|
|
fi
|
|
done
|
|
else
|
|
isError "$folder_name is not a valid application."
|
|
fi
|
|
}
|