updater: add release channel switch (Release / Master)

Advanced tab gets a mini forwarder to choose where pack updates come from. The channel is stored as release_channel in /config/omninx/manifest.ini; master builds ship it set to master. Master downloads OmniNX-<Variant>.zip and RELEASE.ini from the 'master' release in OmniNX/OmniNX-Master, release keeps using the latest non-prerelease of OmniNX/OmniNX.
This commit is contained in:
niklascfw committed 2026-11-13 16:22:39 +01:00
1 parent 85d8cfb955
commit 7254bd83c6
3 files changed
+40 -3

No files matched your search

+2 -1
View File
@@ -6,7 +6,8 @@ set-ini-val ./config.ini 'OmniNX Downloader' footer ''
set-ini-val ./config.ini '*Firmware Archiv' footer '18.0.0+'
try:
download https://git.niklascfw.de/OmniNX/OmniNX-Downloader/raw/branch/main/include/updater/RELEASE.ini ./RELEASE.ini
ini_file /config/omninx/manifest.ini
download '{if_==({ini_file(OmniNX,release_channel)},master,https://git.niklascfw.de/OmniNX/OmniNX-Master/releases/download/master/RELEASE.ini,https://git.niklascfw.de/OmniNX/OmniNX-Downloader/raw/branch/main/include/updater/RELEASE.ini)}' ./RELEASE.ini
ini_file ./RELEASE.ini
set-ini-val ./config.ini 'OmniNX' footer '{ini_file(Release Info,omninx_pack)}'