mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-07-30 09:27:14 +08:00
69 lines
2.7 KiB
JSON
69 lines
2.7 KiB
JSON
{
|
|
"version": "1.92.144",
|
|
"description": "Secure, Fast & Private Web Browser with Adblocker",
|
|
"homepage": "https://brave.com",
|
|
"license": {
|
|
"identifier": "Freeware,BSD-3-Clause,GPL-3.0-only,...",
|
|
"url": "https://github.com/brave/brave-browser/blob/master/LICENSE"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/brave/brave-browser/releases/download/v1.92.144/brave-v1.92.144-win32-x64.zip",
|
|
"hash": "81697658e367278b07b763cb2335171db835c490aba5ff8497eb9369f67f93e7"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/brave/brave-browser/releases/download/v1.92.144/brave-v1.92.144-win32-ia32.zip",
|
|
"hash": "ec0bb65037c875dea70a15995658ae28b531dd2baf869d8db8fec24bfc98b1da"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/brave/brave-browser/releases/download/v1.92.144/brave-v1.92.144-win32-arm64.zip",
|
|
"hash": "458e0d4fdf05413590477948f6599b5d12ae4a8c48812222f42071f13f6f9ada"
|
|
}
|
|
},
|
|
"bin": [
|
|
[
|
|
"brave.exe",
|
|
"brave",
|
|
"--user-data-dir=\"$dir\\User Data\""
|
|
]
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"brave.exe",
|
|
"Brave",
|
|
"--user-data-dir=\"$dir\\User Data\""
|
|
]
|
|
],
|
|
"post_install": [
|
|
"if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$persist_dir\\data\")) {",
|
|
" info '[Portable Mode]: Copying user data from portapps data directory . . .'",
|
|
" Copy-Item \"$persist_dir\\data\\*\" \"$dir\\User Data\" -Recurse",
|
|
"}",
|
|
"if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\BraveSoftware\\Brave-Browser\\User Data\")) {",
|
|
" info '[Portable Mode]: Copying user data from local application data directory . . .'",
|
|
" Copy-Item \"$env:LocalAppData\\BraveSoftware\\Brave-Browser\\User Data\\*\" \"$dir\\User Data\" -Recurse",
|
|
"}"
|
|
],
|
|
"persist": "User Data",
|
|
"checkver": {
|
|
"url": "https://brave-browser-downloads.s3.brave.com/latest/release-windows-x64.version",
|
|
"regex": "([\\d.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/brave/brave-browser/releases/download/v$version/brave-v$version-win32-x64.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/brave/brave-browser/releases/download/v$version/brave-v$version-win32-ia32.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/brave/brave-browser/releases/download/v$version/brave-v$version-win32-arm64.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|