/
thorium.json
50 lines (50 loc) 路 1.67 KB
/
thorium.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
{
"version": "123.0.6312.133",
"description": "Chromium fork for Linux, Windows, MacOS, Android, and Raspberry Pi named after radioactive element No. 90.",
"homepage": "https://thorium.rocks/",
"license": {
"identifier": "BSD 3-Clause",
"url": "https://github.com/Alex313031/Thorium-Win/blob/main/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://github.com/Alex313031/Thorium-Win/releases/download/M123.0.6312.133/Thorium_SSE3_123.0.6312.133.zip",
"hash": "90498c885f4ec21badd948cb84f81a846bf853de58551248df94c9dd9b074fd8"
}
},
"bin": [
[
"bin\\thorium.exe",
"thorium",
"--user-data-dir=\"$dir\\USER_DATA\""
]
],
"shortcuts": [
[
"bin\\thorium.exe",
"Thorium",
"--user-data-dir=\"$dir\\USER_DATA\""
]
],
"post_install": [
"if (!(Test-Path \"$dir\\USER_DATA\\*\") -and (Test-Path \"$env:LocalAppData\\Thorium\\User Data\")) {",
" info '[Portable Mode]: Copying user data...'",
" Copy-Item \"$env:LocalAppData\\Thorium\\User Data\\*\" \"$dir\\USER_DATA\" -Recurse",
"}"
],
"env_set": {
"CHROME_EXECUTABLE": "$dir\\thorium.exe"
},
"persist": "USER_DATA",
"checkver": {
"github": "https://github.com/Alex313031/Thorium-Win",
"regex": "/releases/tag/M(?<version>(?:\\d+\\.){3}\\d+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Alex313031/Thorium-Win/releases/download/M$version/Thorium_SSE3_$version.zip"
}
}
}
}