nightly: bump 0.1.61 and fix install/cancel selection flow
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
# Changelog (Nightly)
|
# 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
|
## 0.1.59-nightly - 2026-02-23
|
||||||
|
|
||||||
- Enthaelt alle Aenderungen aus `0.1.58`.
|
- Enthaelt alle Aenderungen aus `0.1.58`.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?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>
|
<requires>
|
||||||
<import addon="xbmc.python" version="3.0.0" />
|
<import addon="xbmc.python" version="3.0.0" />
|
||||||
<import addon="script.module.requests" />
|
<import addon="script.module.requests" />
|
||||||
|
|||||||
@@ -3538,19 +3538,14 @@ def _show_version_selector() -> None:
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
dialog = xbmcgui.Dialog()
|
confirm_choice = xbmcgui.Dialog().select(
|
||||||
try:
|
|
||||||
confirm = dialog.yesno(
|
|
||||||
"Version installieren",
|
"Version installieren",
|
||||||
f"Version: {version}",
|
[
|
||||||
"Installation jetzt starten?",
|
f"Installieren: {version}",
|
||||||
"",
|
|
||||||
"Abbrechen",
|
"Abbrechen",
|
||||||
"Installieren",
|
],
|
||||||
)
|
)
|
||||||
except TypeError:
|
if confirm_choice != 0:
|
||||||
confirm = dialog.yesno("Version installieren", f"Version: {version}", "Installation jetzt starten?")
|
|
||||||
if not confirm:
|
|
||||||
return
|
return
|
||||||
|
|
||||||
xbmcgui.Dialog().notification("Updates", f"Installation gestartet: {version}", xbmcgui.NOTIFICATION_INFO, 2500)
|
xbmcgui.Dialog().notification("Updates", f"Installation gestartet: {version}", xbmcgui.NOTIFICATION_INFO, 2500)
|
||||||
|
|||||||
Reference in New Issue
Block a user