Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/kolibri_app/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import win32gui

from kolibri_app.server_manager_windows import WindowsServerManager as ServerManager
from kolibri_app.taskbar_icon import KolibriTaskBarIcon
from kolibri_app.windows.taskbar_icon import KolibriTaskBarIcon
from kolibri_app.windows_registry import is_webview2_installed
else:
from kolibri.core.device.utils import app_initialize_url
Expand Down
6 changes: 6 additions & 0 deletions src/kolibri_app/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
# Windows specific constants
TRAY_ICON_ICO = "icons/kolibri.ico"
SERVICE_NAME = "Kolibri"
# Explicit AppUserModelID for notification attribution. Without it, Windows
# auto-generates an identity for the tray icon and renders the notification
# header from a cached copy of the tray HICON, which can show with swapped
# colours (see issue #184). Registered in the registry with a DisplayName and
# IconUri so toasts show "Kolibri" and the icon file directly.
APP_USER_MODEL_ID = "LearningEquality.Kolibri"
# Microsoft's official identifier for the WebView2 Runtime, used for registry checks.
# Source: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution?tabs=dotnetcsharp
WEBVIEW2_RUNTIME_GUID = "{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}"
6 changes: 6 additions & 0 deletions src/kolibri_app/windows/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Windows-only components of the Kolibri app.

Modules in this package import ``pywin32``/Win32 APIs at import time and must
only be imported when running on Windows (guard with
``kolibri_app.constants.WINDOWS``).
"""
Loading
Loading