Подключить уведомления об обновлениях в установщике

Этот коммит содержится в:
Виктор
2026-05-07 01:54:21 +09:00
родитель 97f702fab2
Коммит 162bbc6542
+3 -3
Просмотреть файл
@@ -10,9 +10,9 @@ if not app_path.exists():
script_dir = Path(__file__).resolve().parent script_dir = Path(__file__).resolve().parent
# New installs run this patch from install_web_panel.sh. Keep feature patches here too # New installs run this patch from install_web_panel.sh. Keep feature patches here too
# so a fresh install gets disk images, VM architecture selector and update center # so a fresh install gets disk images, VM architecture selector, dashboard update
# without requiring extra manual commands. # notifications and update center without requiring extra manual commands.
for optional_patch in ('patch_disk_images.py', 'patch_vm_architecture.py'): for optional_patch in ('patch_disk_images.py', 'patch_vm_architecture.py', 'patch_update_badge.py'):
patch_path = script_dir / optional_patch patch_path = script_dir / optional_patch
if patch_path.exists(): if patch_path.exists():
old_argv = sys.argv[:] old_argv = sys.argv[:]