scoop-extras/bucket/googlechrome.json

69 lines
2.7 KiB
JSON
Raw Normal View History

{
"version": "107.0.5304.107",
"description": "Fast, secure, and free web browser, built for the modern web.",
"homepage": "https://www.google.com/chrome/",
"license": {
"identifier": "Freeware",
"url": "https://www.google.com/chrome/privacy/eula_text.html"
},
"architecture": {
"64bit": {
"url": "http://dl.simaek.com/scoop/buckets/custom/package/107.0.5304.107_chrome_installer.exe#/dl.7z",
"hash": "b9405b303e018cd33863741266c37289d6d078f62acdc9b98264b78b4938328b"
},
"32bit": {
"url": "http://dl.simaek.com/scoop/buckets/custom/package/107.0.5304.107_chrome_installer.exe#/dl.7z",
"hash": "7fa27f52270591dd98462e1efa312960bb8b80e34b69bb60370c356169a92c07"
}
},
"installer": {
"script": "Expand-7zipArchive \"$dir\\chrome.7z\" -ExtractDir 'Chrome-bin' -Removal"
},
"bin": [
[
"chrome.exe",
"chrome",
"--user-data-dir=\"$dir\\User Data\""
]
],
"shortcuts": [
[
"chrome.exe",
"Google Chrome",
"--user-data-dir=\"$dir\\User Data\""
]
],
"post_install": [
"if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\Google\\Chrome\\User Data\")) {",
" info '[Portable Mode]: Copying user data...'",
" Copy-Item \"$env:LocalAppData\\Google\\Chrome\\User Data\\*\" \"$dir\\User Data\" -Recurse",
"}"
],
"env_set": {
"CHROME_EXECUTABLE": "$dir\\chrome.exe"
},
"persist": "User Data",
"checkver": {
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml",
"regex": "(?sm)<stable32><version>(?<version>[\\d.]+)</version>.+release2/chrome/(?<32>[\\w-]+)_.+<stable64>.+release2/chrome/(?<64>[\\w-]+)_.+</stable64>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.google.com/release2/chrome/$match64_$version/$version_chrome_installer.exe#/dl.7z",
"hash": {
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml",
"xpath": "/chromechecker/stable64[version='$version']/sha256"
}
},
"32bit": {
"url": "https://dl.google.com/release2/chrome/$match32_$version/$version_chrome_installer.exe#/dl.7z",
"hash": {
"url": "https://scoopinstaller.github.io/UpdateTracker/googlechrome/chrome.min.xml",
"xpath": "/chromechecker/stable32[version='$version']/sha256"
}
}
}
}
}