forked from ScoopInstaller/Versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chromium-dev.json
46 lines (46 loc) · 1.64 KB
/
chromium-dev.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
{
"version": "108.0.5315.0-r1049746",
"description": "An open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.",
"homepage": "https://www.chromium.org",
"license": "BSD-3-Clause",
"architecture": {
"64bit": {
"url": "https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1049746/chrome-win.zip",
"hash": "a75a8e79f88eb0028ffdcc8d1d92cd0bbea044f70f9f681653ac001247fe9504"
}
},
"extract_dir": "chrome-win",
"bin": [
[
"chrome.exe",
"chromium-dev",
"--user-data-dir=\"$dir\\User Data\""
]
],
"shortcuts": [
[
"chrome.exe",
"Chromium (Dev)",
"--user-data-dir=\"$dir\\User Data\""
]
],
"post_install": [
"if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\Chromium\\User Data\")) {",
" info '[Portable Mode]: Copying user data...'",
" Copy-Item \"$env:LocalAppData\\Chromium\\User Data\\*\" \"$dir\\User Data\" -Recurse",
"}"
],
"persist": "User Data",
"checkver": {
"url": "https://chromium.woolyss.com/api/?os=windows&bit=64&editor=%22The%20Chromium%20Authors%22&out=string",
"regex": "version=(?<chromeVersion>[\\d.]+);revision=(?<build>[\\d]+)",
"replace": "${chromeVersion}-r${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/$matchBuild/chrome-win.zip"
}
}
}
}