From a4ab9ed7ee9a118d7c20ea740a0545a1d8376161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Thu, 7 May 2026 07:08:01 +0900 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B0=D1=82=D1=87=20=D0=B7=D0=B0=D1=89?= =?UTF-8?q?=D0=B8=D1=82=D1=8B=20=D0=B7=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=BE?= =?UTF-8?q?=D0=BA=20=D0=B1=D1=8B=D0=BB=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D1=91=D0=BD=20=D0=BA=20=D1=83=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=89=D0=B8=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install_web_panel.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install_web_panel.sh b/scripts/install_web_panel.sh index 7bed193..b0e8ea3 100644 --- a/scripts/install_web_panel.sh +++ b/scripts/install_web_panel.sh @@ -167,6 +167,11 @@ if [[ -f "${REPO_DIR}/scripts/patch_upload_compat.py" ]]; then else warn "patch_upload_compat.py не найден, совместимость загрузки файлов пропущена" fi +if [[ -f "${REPO_DIR}/scripts/patch_upload_navigation_guard.py" ]]; then + run_logged "upload navigation guard patch применён" python3 "${REPO_DIR}/scripts/patch_upload_navigation_guard.py" "${APP_DIR}/app.py" +else + warn "patch_upload_navigation_guard.py не найден, защита загрузок от переходов пропущена" +fi if [[ -f "${REPO_DIR}/scripts/patch_disk_images.py" ]]; then run_logged "disk images patch применён" python3 "${REPO_DIR}/scripts/patch_disk_images.py" "${APP_DIR}/app.py" else