From cf80bb6e5fca26751cba9445fb04eedd0304a33a Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 00:22:24 +0700 Subject: [PATCH 01/14] add fladder --- ct/fladder.sh | 86 +++++++++++++++++++++++++++++++ frontend/public/json/fladder.json | 35 +++++++++++++ install/fladder-install.sh | 59 +++++++++++++++++++++ 3 files changed, 180 insertions(+) create mode 100644 ct/fladder.sh create mode 100644 frontend/public/json/fladder.json create mode 100644 install/fladder-install.sh diff --git a/ct/fladder.sh b/ct/fladder.sh new file mode 100644 index 000000000..5eb2d3a51 --- /dev/null +++ b/ct/fladder.sh @@ -0,0 +1,86 @@ +#!/usr/bin/env bash +source <(curl -fsSL https://raw.githubusercontent.com/wendyliga/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2025 community-scripts ORG +# Author: wendyliga +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/DonutWare/Fladder + +APP="Fladder" +var_tags="${var_tags:-media}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-4}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -d /opt/fladder ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + # Get latest version from GitHub + RELEASE=$(curl -fsSL https://api.github.com/repos/DonutWare/Fladder/releases/latest | \ + grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}') + if [[ -z "$RELEASE" ]]; then + msg_error "Failed to fetch latest release version from GitHub" + exit 1 + fi + if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then + msg_info "Stopping Service" + systemctl stop nginx + msg_ok "Stopped Service" + + msg_info "Backing up configuration" + if [[ -f /opt/fladder/assets/config/config.json ]]; then + cp /opt/fladder/assets/config/config.json /tmp/fladder_config.json.bak + msg_ok "Configuration backed up" + elif [[ -f /opt/fladder/data/flutter_assets/config/config.json ]]; then + cp /opt/fladder/data/flutter_assets/config/config.json /tmp/fladder_config.json.bak + msg_ok "Configuration backed up" + fi + + msg_info "Updating ${APP} to ${RELEASE}" + cd /opt + wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" + rm -rf /opt/fladder + unzip -q "Fladder-Web-${RELEASE#v}.zip" -d fladder + rm -f "Fladder-Web-${RELEASE#v}.zip" + echo "${RELEASE}" >/opt/${APP}_version.txt + msg_ok "Updated ${APP} to ${RELEASE}" + + msg_info "Restoring configuration" + if [[ -f /tmp/fladder_config.json.bak ]]; then + mkdir -p /opt/fladder/assets/config + cp /tmp/fladder_config.json.bak /opt/fladder/assets/config/config.json + rm -f /tmp/fladder_config.json.bak + msg_ok "Configuration restored" + fi + + msg_info "Starting Service" + systemctl start nginx + msg_ok "Started Service" + msg_ok "Updated successfully!" + else + msg_ok "No update required. ${APP} is already at ${RELEASE}" + fi + exit +} + +start +build_container +description + +msg_ok "Completed Successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW} Access it using the following IP:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/frontend/public/json/fladder.json b/frontend/public/json/fladder.json new file mode 100644 index 000000000..99a8ffd81 --- /dev/null +++ b/frontend/public/json/fladder.json @@ -0,0 +1,35 @@ +{ + "name": "Fladder", + "slug": "fladder", + "categories": [ + 14 + ], + "date_created": "2025-12-26", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 80, + "documentation": "https://github.com/DonutWare/Fladder/blob/develop/INSTALL.md#ubuntudebian", + "website": "https://github.com/DonutWare/Fladder", + "logo": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/webp/fladder.webp", + "config_path": "/opt/fladder/assets/config/config.json", + "description": "Fladder is a simple Jellyfin frontend built on top of Flutter. It provides a modern interface to stream and sync content locally, manage libraries, support multiple profiles, and offers direct, transcode and offline playback with media segments skipping.", + "install_methods": [ + { + "type": "default", + "script": "ct/fladder.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 4, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [] +} diff --git a/install/fladder-install.sh b/install/fladder-install.sh new file mode 100644 index 000000000..beb848ca5 --- /dev/null +++ b/install/fladder-install.sh @@ -0,0 +1,59 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2025 community-scripts ORG +# Author: wendyliga +# License: MIT | https://github.com/wendyliga/ProxmoxVE/raw/main/LICENSE +# Source: https://github.com/DonutWare/Fladder + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + wget \ + unzip \ + nginx +msg_ok "Installed Dependencies" + +msg_info "Installing ${APPLICATION}" +# Get latest version from GitHub +RELEASE=$(curl -fsSL https://api.github.com/repos/DonutWare/Fladder/releases/latest | \ + grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}') +cd /opt +$STD wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" +$STD unzip -o "Fladder-Web-${RELEASE#v}.zip" -d fladder + +rm -f "Fladder-Web-${RELEASE#v}.zip" +echo "${RELEASE}" >/opt/${APPLICATION}_version.txt +msg_ok "Installed ${APPLICATION}" + +msg_info "Configuring Nginx" +cat </etc/nginx/conf.d/fladder.conf +server { + listen 80 default_server; + listen [::]:80 default_server; + + server_name _; + + root /opt/fladder; + index index.html; + + location / { + try_files \$uri \$uri/ /index.html; + } +} +EOF +rm -f /etc/nginx/sites-enabled/default +rm -f /etc/nginx/sites-available/default +systemctl enable -q --now nginx +systemctl reload nginx +msg_ok "Configured Nginx" + +motd_ssh +customize +cleanup_lxc From f2784d025a023f9dec806f301686d55d1195e57d Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 00:27:30 +0700 Subject: [PATCH 02/14] fix: update source URL for build functions in fladder script --- ct/fladder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/fladder.sh b/ct/fladder.sh index 5eb2d3a51..1c827dd8a 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/wendyliga/ProxmoxVE/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: wendyliga # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE From 714307d9f3ac0a2316b4167626a11ff9bf1cfea4 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 00:28:37 +0700 Subject: [PATCH 03/14] fix: correct license URL in fladder installation script --- install/fladder-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/fladder-install.sh b/install/fladder-install.sh index beb848ca5..0ddf937f4 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -2,7 +2,7 @@ # Copyright (c) 2021-2025 community-scripts ORG # Author: wendyliga -# License: MIT | https://github.com/wendyliga/ProxmoxVE/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/DonutWare/Fladder source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" From 400dfeb8a0f083296adeae81bc954c0f3285fb6c Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 00:31:43 +0700 Subject: [PATCH 04/14] fix: update license URL in fladder scripts --- ct/fladder.sh | 4 ++-- install/fladder-install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/fladder.sh b/ct/fladder.sh index 1c827dd8a..5349f194c 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: wendyliga -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/DonutWare/Fladder APP="Fladder" diff --git a/install/fladder-install.sh b/install/fladder-install.sh index 0ddf937f4..6146e0c7c 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -2,7 +2,7 @@ # Copyright (c) 2021-2025 community-scripts ORG # Author: wendyliga -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # Source: https://github.com/DonutWare/Fladder source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" From 5698870c63aa1072713739745825be8f3b40e4be Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:49:54 +0700 Subject: [PATCH 05/14] fix review --- ct/fladder.sh | 70 ++++++++++++++----------------- frontend/public/json/fladder.json | 2 +- install/fladder-install.sh | 9 ++-- 3 files changed, 38 insertions(+), 43 deletions(-) diff --git a/ct/fladder.sh b/ct/fladder.sh index 5349f194c..3339da735 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -24,55 +24,49 @@ function update_script() { check_container_storage check_container_resources - if [[ ! -d /opt/fladder ]]; then + if [[ ! -f ~/.fladder ]]; then msg_error "No ${APP} Installation Found!" exit fi + # Get latest version from GitHub - RELEASE=$(curl -fsSL https://api.github.com/repos/DonutWare/Fladder/releases/latest | \ - grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}') + RELEASE=$(get_latest_github_release "DonutWare/Fladder") if [[ -z "$RELEASE" ]]; then msg_error "Failed to fetch latest release version from GitHub" exit 1 fi - if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then - msg_info "Stopping Service" - systemctl stop nginx - msg_ok "Stopped Service" - msg_info "Backing up configuration" - if [[ -f /opt/fladder/assets/config/config.json ]]; then - cp /opt/fladder/assets/config/config.json /tmp/fladder_config.json.bak - msg_ok "Configuration backed up" - elif [[ -f /opt/fladder/data/flutter_assets/config/config.json ]]; then - cp /opt/fladder/data/flutter_assets/config/config.json /tmp/fladder_config.json.bak - msg_ok "Configuration backed up" - fi + msg_info "Stopping Service" + systemctl stop nginx + msg_ok "Stopped Service" - msg_info "Updating ${APP} to ${RELEASE}" - cd /opt - wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" - rm -rf /opt/fladder - unzip -q "Fladder-Web-${RELEASE#v}.zip" -d fladder - rm -f "Fladder-Web-${RELEASE#v}.zip" - echo "${RELEASE}" >/opt/${APP}_version.txt - msg_ok "Updated ${APP} to ${RELEASE}" - - msg_info "Restoring configuration" - if [[ -f /tmp/fladder_config.json.bak ]]; then - mkdir -p /opt/fladder/assets/config - cp /tmp/fladder_config.json.bak /opt/fladder/assets/config/config.json - rm -f /tmp/fladder_config.json.bak - msg_ok "Configuration restored" - fi - - msg_info "Starting Service" - systemctl start nginx - msg_ok "Started Service" - msg_ok "Updated successfully!" - else - msg_ok "No update required. ${APP} is already at ${RELEASE}" + msg_info "Backing up configuration" + if [[ -f /opt/fladder/assets/config/config.json ]]; then + cp /opt/fladder/assets/config/config.json /tmp/fladder_config.json.bak + msg_ok "Configuration backed up" fi + + msg_info "Updating ${APP} to ${RELEASE}" + cd /opt + wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" + rm -rf /opt/fladder + unzip -q "Fladder-Web-${RELEASE#v}.zip" -d fladder + rm -f "Fladder-Web-${RELEASE#v}.zip" + echo "${RELEASE}" > ~/.fladder + msg_ok "Updated ${APP} to ${RELEASE}" + + msg_info "Restoring configuration" + if [[ -f /tmp/fladder_config.json.bak ]]; then + mkdir -p /opt/fladder/assets/config + cp /tmp/fladder_config.json.bak /opt/fladder/assets/config/config.json + rm -f /tmp/fladder_config.json.bak + msg_ok "Configuration restored" + fi + + msg_info "Starting Service" + systemctl start nginx + msg_ok "Started Service" + msg_ok "Updated successfully!" exit } diff --git a/frontend/public/json/fladder.json b/frontend/public/json/fladder.json index 99a8ffd81..9ee69b853 100644 --- a/frontend/public/json/fladder.json +++ b/frontend/public/json/fladder.json @@ -11,7 +11,7 @@ "interface_port": 80, "documentation": "https://github.com/DonutWare/Fladder/blob/develop/INSTALL.md#ubuntudebian", "website": "https://github.com/DonutWare/Fladder", - "logo": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/webp/fladder.webp", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/fladder.webp", "config_path": "/opt/fladder/assets/config/config.json", "description": "Fladder is a simple Jellyfin frontend built on top of Flutter. It provides a modern interface to stream and sync content locally, manage libraries, support multiple profiles, and offers direct, transcode and offline playback with media segments skipping.", "install_methods": [ diff --git a/install/fladder-install.sh b/install/fladder-install.sh index 6146e0c7c..1514dbdab 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -14,22 +14,23 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ wget \ unzip \ nginx msg_ok "Installed Dependencies" msg_info "Installing ${APPLICATION}" + # Get latest version from GitHub -RELEASE=$(curl -fsSL https://api.github.com/repos/DonutWare/Fladder/releases/latest | \ - grep "tag_name" | awk '{print substr($2, 2, length($2)-3)}') +RELEASE=$(get_latest_github_release "DonutWare/Fladder") + cd /opt $STD wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" $STD unzip -o "Fladder-Web-${RELEASE#v}.zip" -d fladder rm -f "Fladder-Web-${RELEASE#v}.zip" -echo "${RELEASE}" >/opt/${APPLICATION}_version.txt +echo "${RELEASE}" > ~/.fladder msg_ok "Installed ${APPLICATION}" msg_info "Configuring Nginx" From d85e518d9f211c10bc6ed3839967262f500b9888 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:55:22 +0700 Subject: [PATCH 06/14] improve update script --- ct/fladder.sh | 62 +++++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 37 deletions(-) diff --git a/ct/fladder.sh b/ct/fladder.sh index 3339da735..fad8c5d14 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -29,44 +29,32 @@ function update_script() { exit fi - # Get latest version from GitHub - RELEASE=$(get_latest_github_release "DonutWare/Fladder") - if [[ -z "$RELEASE" ]]; then - msg_error "Failed to fetch latest release version from GitHub" - exit 1 + if check_for_gh_release "Fladder" "DonutWare/Fladder"; then + msg_info "Stopping Service" + systemctl stop nginx + msg_ok "Stopped Service" + + msg_info "Backing up configuration" + if [[ -f /opt/fladder/assets/config/config.json ]]; then + cp /opt/fladder/assets/config/config.json /tmp/fladder_config.json.bak + msg_ok "Configuration backed up" + fi + + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Fladder" "DonutWare/Fladder" "prebuild" "latest" "/opt/fladder" "Fladder-Web-*.zip" + + msg_info "Restoring configuration" + if [[ -f /tmp/fladder_config.json.bak ]]; then + mkdir -p /opt/fladder/assets/config + cp /tmp/fladder_config.json.bak /opt/fladder/assets/config/config.json + rm -f /tmp/fladder_config.json.bak + msg_ok "Configuration restored" + fi + + msg_info "Starting Service" + systemctl start nginx + msg_ok "Started Service" + msg_ok "Updated successfully!" fi - - msg_info "Stopping Service" - systemctl stop nginx - msg_ok "Stopped Service" - - msg_info "Backing up configuration" - if [[ -f /opt/fladder/assets/config/config.json ]]; then - cp /opt/fladder/assets/config/config.json /tmp/fladder_config.json.bak - msg_ok "Configuration backed up" - fi - - msg_info "Updating ${APP} to ${RELEASE}" - cd /opt - wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" - rm -rf /opt/fladder - unzip -q "Fladder-Web-${RELEASE#v}.zip" -d fladder - rm -f "Fladder-Web-${RELEASE#v}.zip" - echo "${RELEASE}" > ~/.fladder - msg_ok "Updated ${APP} to ${RELEASE}" - - msg_info "Restoring configuration" - if [[ -f /tmp/fladder_config.json.bak ]]; then - mkdir -p /opt/fladder/assets/config - cp /tmp/fladder_config.json.bak /opt/fladder/assets/config/config.json - rm -f /tmp/fladder_config.json.bak - msg_ok "Configuration restored" - fi - - msg_info "Starting Service" - systemctl start nginx - msg_ok "Started Service" - msg_ok "Updated successfully!" exit } From 383cb7f5a46398d6ac7362423dfdc0e77a9feec0 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:00:18 +0700 Subject: [PATCH 07/14] use fetch_and_deploy_gh_release --- install/fladder-install.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/install/fladder-install.sh b/install/fladder-install.sh index 1514dbdab..d186ff2a3 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -21,17 +21,7 @@ $STD apt install -y \ msg_ok "Installed Dependencies" msg_info "Installing ${APPLICATION}" - -# Get latest version from GitHub -RELEASE=$(get_latest_github_release "DonutWare/Fladder") - -cd /opt -$STD wget -q "https://github.com/DonutWare/Fladder/releases/download/${RELEASE}/Fladder-Web-${RELEASE#v}.zip" -$STD unzip -o "Fladder-Web-${RELEASE#v}.zip" -d fladder - -rm -f "Fladder-Web-${RELEASE#v}.zip" -echo "${RELEASE}" > ~/.fladder -msg_ok "Installed ${APPLICATION}" +fetch_and_deploy_gh_release "Fladder" "DonutWare/Fladder" "prebuild" "latest" "/opt/fladder" "Fladder-Web-*.zip" msg_info "Configuring Nginx" cat </etc/nginx/conf.d/fladder.conf From 3c4a18f969db6ba0961d5494a3649855e773c364 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:01:07 +0700 Subject: [PATCH 08/14] fix: remove checks --- ct/fladder.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ct/fladder.sh b/ct/fladder.sh index fad8c5d14..b849d3ccb 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -24,11 +24,6 @@ function update_script() { check_container_storage check_container_resources - if [[ ! -f ~/.fladder ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - if check_for_gh_release "Fladder" "DonutWare/Fladder"; then msg_info "Stopping Service" systemctl stop nginx From 03f028ad26315eb438bff339690319324d5e4654 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:01:59 +0700 Subject: [PATCH 09/14] Update install/fladder-install.sh Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- install/fladder-install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install/fladder-install.sh b/install/fladder-install.sh index d186ff2a3..a965f9c0c 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -20,7 +20,6 @@ $STD apt install -y \ nginx msg_ok "Installed Dependencies" -msg_info "Installing ${APPLICATION}" fetch_and_deploy_gh_release "Fladder" "DonutWare/Fladder" "prebuild" "latest" "/opt/fladder" "Fladder-Web-*.zip" msg_info "Configuring Nginx" From 75db01ae9047b06dc830c79595fd9bd01e493547 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:02:10 +0700 Subject: [PATCH 10/14] Update install/fladder-install.sh Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- install/fladder-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/fladder-install.sh b/install/fladder-install.sh index a965f9c0c..ac22c3dc1 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -2,7 +2,7 @@ # Copyright (c) 2021-2025 community-scripts ORG # Author: wendyliga -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/DonutWare/Fladder source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" From f2ed885a7fef7588bd7374932d03c07357227827 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:02:18 +0700 Subject: [PATCH 11/14] Update ct/fladder.sh Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> --- ct/fladder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/fladder.sh b/ct/fladder.sh index b849d3ccb..c133d3f95 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -2,7 +2,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: wendyliga -# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://github.com/DonutWare/Fladder APP="Fladder" From e83b46ead99fc8106800d6a2c8deda3dea3a45ea Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:02:38 +0700 Subject: [PATCH 12/14] fix: remove unnecessary dependency installations --- install/fladder-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/install/fladder-install.sh b/install/fladder-install.sh index d186ff2a3..189431a9d 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -15,8 +15,6 @@ update_os msg_info "Installing Dependencies" $STD apt install -y \ - wget \ - unzip \ nginx msg_ok "Installed Dependencies" From 7803001474db068f5eadb16b33614a3861a0a3d2 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:03:06 +0700 Subject: [PATCH 13/14] fix: remove multiline --- install/fladder-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/fladder-install.sh b/install/fladder-install.sh index cdc6d7da6..11c42392b 100644 --- a/install/fladder-install.sh +++ b/install/fladder-install.sh @@ -14,8 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt install -y \ - nginx +$STD apt install -y nginx msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "Fladder" "DonutWare/Fladder" "prebuild" "latest" "/opt/fladder" "Fladder-Web-*.zip" From 7733532441c686795efc8de585d52dc1176f1414 Mon Sep 17 00:00:00 2001 From: Wendy Liga <16457495+wendyliga@users.noreply.github.com> Date: Sat, 27 Dec 2025 21:05:14 +0700 Subject: [PATCH 14/14] revert and improve --- ct/fladder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ct/fladder.sh b/ct/fladder.sh index c133d3f95..39ce55c9b 100644 --- a/ct/fladder.sh +++ b/ct/fladder.sh @@ -24,6 +24,11 @@ function update_script() { check_container_storage check_container_resources + if [[ ! -d /opt/fladder ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + if check_for_gh_release "Fladder" "DonutWare/Fladder"; then msg_info "Stopping Service" systemctl stop nginx