feat(shell): refresh installed apps list on every launcher open

This commit is contained in:
Marco Allegretti 2026-03-11 12:02:11 +01:00
parent 65a10723b3
commit d2fa616b00

View file

@ -225,6 +225,9 @@
var launcher = document.getElementById('launcher');
if (launcher.hasAttribute('hidden')) {
launcher.removeAttribute('hidden');
if (ws && ws.readyState === WebSocket.OPEN) {
ws.send(JSON.stringify({ type: 'QUERY_INSTALLED_APPS' }));
}
} else {
launcher.setAttribute('hidden', '');
}