{ "version": "4.4.171", "description": "A modern media center that's a one-stop solution for your video entertainment. You discover, watch and organize video content from easy to install addons.", "homepage": "https://www.stremio.com/", "license": { "identifier": "Proprietary", "url": "https://www.stremio.com/tos" }, "notes": [ "For the URL protocol (used to launch the app from web pages), run:", "reg import \"$dir\\install-context.reg\"" ], "url": "https://dl.strem.io/shell-win/v4.4.171/Stremio+4.4.171.exe#/dl.7z", "hash": "1a773648245937821f24d2fec1c0b630b5844c4447efc86d2dd0f6710c7ff892", "pre_install": "Remove-Item \"$dir\\`$*\" -Recurse", "post_install": [ "'install-context', 'uninstall-context' | ForEach-Object {", " if (Test-Path \"$bucketsdir\\extras\\scripts\\stremio\\$_.reg\") {", " $sPath = \"$dir\\stremio.exe\".Replace('\\', '\\\\')", " $content = (Get-Content \"$bucketsdir\\extras\\scripts\\stremio\\$_.reg\").Replace('$stremioexe', $sPath)", " if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }", " Set-Content \"$dir\\$_.reg\" $content -Encoding Ascii -Force", " }", "}" ], "shortcuts": [ [ "stremio.exe", "Stremio" ] ], "pre_uninstall": [ "Stop-Process -Name 'stremio.exe' -ErrorAction SilentlyContinue", "if ($cmd -eq 'uninstall') { reg import \"$dir\\uninstall-context.reg\" }" ], "checkver": { "script": [ "$request = [System.Net.HttpWebRequest]::Create('https://www.strem.io/download?platform=windows&four=true')", "$response = $request.GetResponse()", "Write-Output $response.ResponseUri.AbsoluteUri" ], "regex": "shell-win/v(?[\\d.]+)/Stremio\\+\\k\\.exe" }, "autoupdate": { "url": "https://dl.strem.io/shell-win/v$version/Stremio+$version.exe#/dl.7z" } }