nightly: bump 0.1.61 and fix install/cancel selection flow

This commit is contained in:
2026-02-23 20:59:15 +01:00
parent 896398721c
commit aab7613304
3 changed files with 17 additions and 13 deletions

View File

@@ -3538,19 +3538,14 @@ def _show_version_selector() -> None:
except Exception:
pass
dialog = xbmcgui.Dialog()
try:
confirm = dialog.yesno(
"Version installieren",
f"Version: {version}",
"Installation jetzt starten?",
"",
confirm_choice = xbmcgui.Dialog().select(
"Version installieren",
[
f"Installieren: {version}",
"Abbrechen",
"Installieren",
)
except TypeError:
confirm = dialog.yesno("Version installieren", f"Version: {version}", "Installation jetzt starten?")
if not confirm:
],
)
if confirm_choice != 0:
return
xbmcgui.Dialog().notification("Updates", f"Installation gestartet: {version}", xbmcgui.NOTIFICATION_INFO, 2500)