From 348754236c086c68f65a7c1564776ffcbf7510b3 Mon Sep 17 00:00:00 2001 From: Sassan Haradji Date: Fri, 30 Aug 2024 03:34:46 +0400 Subject: [PATCH] fix(lightdm): update the menu when installation is done --- CHANGELOG.md | 1 + scripts/deploy.sh | 3 ++- ubo_app/services/050-lightdm/setup.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08556e20..529a7cbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - build(packer): remove /etc/xdg/autostart/piwiz.desktop to avoid running piwiz as we already set ubo user - fix(core): keep a reference for background tasks created with `async_.create_task` to avoid them getting garbage collected and cancelled +- fix(lightdm): update the menu when installation is done ## Version 0.15.11 diff --git a/scripts/deploy.sh b/scripts/deploy.sh index c07c1008..afdb639c 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -59,7 +59,8 @@ $(if [ "$env" == "True" ]; then echo "cat <<'EOF' > /tmp/.dev.env $(cat ubo_app/.dev.env) EOF && chown ubo:ubo /tmp/.dev.env && -mv /tmp/.dev.env /opt/ubo/env/lib/python3.*/site-packages/ubo_app/"; fi)" +mv /tmp/.dev.env /opt/ubo/env/lib/python3.*/site-packages/ubo_app/ &&"; fi)\ +true" fi if [ "$run" == "True" ] || [ "$restart" == "True" ]; then diff --git a/ubo_app/services/050-lightdm/setup.py b/ubo_app/services/050-lightdm/setup.py index a6aceb61..f1fd582b 100644 --- a/ubo_app/services/050-lightdm/setup.py +++ b/ubo_app/services/050-lightdm/setup.py @@ -42,6 +42,7 @@ async def act() -> None: 'lightdm', has_output=True, ) + dispatch(LightDMUpdateStateAction(is_installing=False)) if result != 'installed': dispatch( NotificationsAddAction(