-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgooglechrome-121.json
68 lines (68 loc) · 2.6 KB
/
googlechrome-121.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"version": "121.0.6167.86",
"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": "https://dl.google.com/release2/chrome/oxnt5ftbtwkwl44z76heluiyiu_121.0.6167.86/121.0.6167.86_chrome_installer.exe#/dl.7z",
"hash": "f8e49c98edfbc6b9c304c95a8fd84a12de4d80844a034596665248b2188dfa57"
},
"32bit": {
"url": "https://dl.google.com/release2/chrome/oalofu4weru5in32z6a3xldfnm_121.0.6167.86/121.0.6167.86_chrome_installer.exe#/dl.7z",
"hash": "ce55c0d92e1b0aa0217b8b464aef9aedadc2cbf5e69053799dcabcd36006523d"
}
},
"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"
}
}
}
}
}