nightly: bump 0.1.61 and fix install/cancel selection flow
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog (Nightly)
|
||||
|
||||
## 0.1.61-nightly - 2026-02-23
|
||||
|
||||
- Update-Dialog: feste Auswahl mit `Installieren` / `Abbrechen` (kein vertauschter Yes/No-Dialog mehr).
|
||||
- Versionen im Update-Dialog nach Kanal gefiltert:
|
||||
- Main: nur `x.y.z`
|
||||
- Nightly: nur `x.y.z-nightly`
|
||||
- Installierte Version wird direkt aus `addon.xml` gelesen.
|
||||
- Beim Kanalwechsel wird direkt die neueste Version aus dem gewaehlten Kanal installiert.
|
||||
|
||||
## 0.1.59-nightly - 2026-02-23
|
||||
|
||||
- Enthaelt alle Aenderungen aus `0.1.58`.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.60-nightly" provider-name="ViewIt">
|
||||
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.61-nightly" provider-name="ViewIt">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="3.0.0" />
|
||||
<import addon="script.module.requests" />
|
||||
|
||||
@@ -3538,19 +3538,14 @@ def _show_version_selector() -> None:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
dialog = xbmcgui.Dialog()
|
||||
try:
|
||||
confirm = dialog.yesno(
|
||||
confirm_choice = xbmcgui.Dialog().select(
|
||||
"Version installieren",
|
||||
f"Version: {version}",
|
||||
"Installation jetzt starten?",
|
||||
"",
|
||||
[
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user