mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-08-01 03:16:36 +08:00
62 lines
4.1 KiB
JSON
62 lines
4.1 KiB
JSON
{
|
|
"version": "150.0.4078.105",
|
|
"description": "Microsoft Edge WebView2 Runtime. Embed web content (HTML, CSS, and JavaScript) in your native applications with Microsoft Edge WebView2.",
|
|
"homepage": "https://developer.microsoft.com/en-us/microsoft-edge/webview2",
|
|
"license": {
|
|
"identifier": "Proprietary",
|
|
"url": "https://developer.microsoft.com/microsoft-edge/api/eula/webview2"
|
|
},
|
|
"notes": "Overrides any natively installed Runtime through environment variable 'WEBVIEW2_BROWSER_EXECUTABLE_FOLDER'. This is architecture-specific: Applications must match the runtime architecture, for example install the 32-bit build (--arch 32bit) to support 32-bit applications.",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/0fd06672-a36f-40c6-bfc2-bdce5196548e/Microsoft.WebView2.FixedVersionRuntime.150.0.4078.105.x86.cab#/dl.7z",
|
|
"hash": "2014051408ecaef42582d7f5f64747d53df2838a13681cd6c6d09d4caefb9586",
|
|
"extract_dir": "Microsoft.WebView2.FixedVersionRuntime.150.0.4078.105.x86"
|
|
},
|
|
"64bit": {
|
|
"url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/b401c036-cfb8-4dc4-a58e-8766441df4ac/Microsoft.WebView2.FixedVersionRuntime.150.0.4078.105.x64.cab#/dl.7z",
|
|
"hash": "26c07cad95615a672cde8c1843a326e18ad25d691f004347544e5e099bff9b92",
|
|
"extract_dir": "Microsoft.WebView2.FixedVersionRuntime.150.0.4078.105.x64"
|
|
},
|
|
"arm64": {
|
|
"url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/3ed82623-7377-43d9-addb-3b1e3ab6f8d0/Microsoft.WebView2.FixedVersionRuntime.150.0.4078.105.arm64.cab#/dl.7z",
|
|
"hash": "7b4fcaae78b41395cce2e6acf10b2f4a812994fef0feb17d50000683caf4aecb",
|
|
"extract_dir": "Microsoft.WebView2.FixedVersionRuntime.150.0.4078.105.arm64"
|
|
}
|
|
},
|
|
"env_set": {
|
|
"WEBVIEW2_BROWSER_EXECUTABLE_FOLDER": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://developer.microsoft.com/en-us/Microsoft-edge/webview2/",
|
|
"script": [
|
|
"$page = $page -replace '\\\\u002F', '/'",
|
|
"$page -match 'https://msedge\\.sf\\.dl\\.delivery\\.mp\\.microsoft\\.com/filestreamingservice/files/(?<folder>[0-9a-z-]+)/Microsoft\\.WebView2\\.FixedVersionRuntime\\.([0-9.]+)\\.x86\\.cab'",
|
|
"$arch32 = $Matches.folder",
|
|
"$page -match 'https://msedge\\.sf\\.dl\\.delivery\\.mp\\.microsoft\\.com/filestreamingservice/files/(?<folder>[0-9a-z-]+)/Microsoft\\.WebView2\\.FixedVersionRuntime\\.(?<version>[0-9.]+)\\.x64\\.cab'",
|
|
"$version = $Matches.version",
|
|
"$arch64 = $Matches.folder",
|
|
"$page -match 'https://msedge\\.sf\\.dl\\.delivery\\.mp\\.microsoft\\.com/filestreamingservice/files/(?<folder>[0-9a-z-]+)/Microsoft\\.WebView2\\.FixedVersionRuntime\\.([0-9.]+)\\.arm64\\.cab'",
|
|
"$archarm64 = $Matches.folder",
|
|
"Write-Output \"$version $arch32 $arch64 $archarm64\""
|
|
],
|
|
"regex": "(?<version>[\\d.]+) (?<arch32>[^ ]+) (?<arch64>[^ ]+) (?<archarm64>[^ ]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/$matchArch32/Microsoft.WebView2.FixedVersionRuntime.$version.x86.cab#/dl.7z",
|
|
"extract_dir": "Microsoft.WebView2.FixedVersionRuntime.$version.x86"
|
|
},
|
|
"64bit": {
|
|
"url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/$matchArch64/Microsoft.WebView2.FixedVersionRuntime.$version.x64.cab#/dl.7z",
|
|
"extract_dir": "Microsoft.WebView2.FixedVersionRuntime.$version.x64"
|
|
},
|
|
"arm64": {
|
|
"url": "https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/$matchArcharm64/Microsoft.WebView2.FixedVersionRuntime.$version.arm64.cab#/dl.7z",
|
|
"extract_dir": "Microsoft.WebView2.FixedVersionRuntime.$version.arm64"
|
|
}
|
|
}
|
|
}
|
|
}
|