{ "version": "20250129", "description": "Open source home theater/media center software and entertainment hub for digital media", "homepage": "https://kodi.tv/", "license": "GPL-2.0-or-later", "suggest": { "vcredist": "extras/vcredist2022" }, "architecture": { "64bit": { "url": "https://mirrors.kodi.tv/nightlies/windows/win64/Omega/KodiSetup-20250129-44571601-Omega-x64.exe#/dl.7z", "hash": "0202915bba3df9cdfd824dfcc861987a7af32591117fb992ce462ea522917ce8" }, "32bit": { "url": "https://mirrors.kodi.tv/nightlies/windows/win32/Omega/KodiSetup-20250129-44571601-Omega-x86.exe#/dl.7z", "hash": "a55b7c1a2b1ed0d3593e7502b5d8b861830c46066d7fbe7546faa160ea254b13" } }, "post_install": "'$PLUGINSDIR', '$TEMP', 'AppxManifest.xml', 'Uninstall.exe' | ForEach-Object { Remove-Item \"$dir\\$_\" -Recurse -Force }", "shortcuts": [ [ "kodi.exe", "Kodi Nightly", "-p" ] ], "persist": "portable_data", "checkver": { "script": [ "$page = Invoke-WebRequest 'https://kodi.tv/download/windows' -UseBasicParsing", "$name = ($page.Content | Select-String -Pattern 'Kodi v[\\d.]+ \\((\\w+)\\)').Matches.Groups[1].Value", "$builds = 'win32', 'win64'", "$script_ver = ''", "$urls = @()", "foreach ($build in $builds) {", " $base_url = 'https://mirrors.kodi.tv/nightlies/windows/'+ $build + '/' + $name + '/'", " $dl_page = Invoke-WebRequest $base_url -UseBasicParsing", " $full_version = $dl_page.links | Where-Object href -match '\\.exe$' | Select-Object -first 1 -expand href", " $script_ver = $full_version -split '-' | Select-Object -Skip 1 | Select-Object -First 1", " $dl = $name + '/' + $full_version", " $urls += $dl", "}", "Write-Output ('version:\"' + $script_ver + '\"') ('urls:\"' + $urls + '\"')" ], "regex": "version:\"(?\\d+)\"\\surls:\"(?.+)\\s(?.+)\"" }, "autoupdate": { "architecture": { "64bit": { "url": "https://mirrors.kodi.tv/nightlies/windows/win64/$matchWin64bit#/dl.7z" }, "32bit": { "url": "https://mirrors.kodi.tv/nightlies/windows/win32/$matchWin32bit#/dl.7z" } }, "hash": { "url": "$url?mirrorlist", "regex": "$sha256" } } }