mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-07-31 11:27:35 +08:00
58 lines
2.3 KiB
JSON
58 lines
2.3 KiB
JSON
{
|
|
"version": "3.6.3.86383",
|
|
"description": "Toolbox App. A control panel for all JetBrains tools.",
|
|
"homepage": "https://www.jetbrains.com/toolbox/",
|
|
"license": {
|
|
"identifier": "Freeware",
|
|
"url": "https://www.jetbrains.com/legal/"
|
|
},
|
|
"notes": [
|
|
"By default all your tools are installed into '$dir\\apps' folder and are persisted.",
|
|
"This could be changed inside settings menu."
|
|
],
|
|
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-3.6.3.86383.exe",
|
|
"hash": "0604952ca156f5bdfed9d2bcea763a3a0de3f1061e2d97e3f233a731ea85ba7d",
|
|
"pre_install": [
|
|
"Expand-7zipArchive \"$dir\\jetbrains-toolbox-$version.exe\" \"$dir\\installer\" -Removal",
|
|
"Expand-7zipArchive \"$dir\\installer\\.text\" \"$dir\"",
|
|
"Remove-Item \"$dir\\`$*\", \"$dir\\installer\" -Recurse"
|
|
],
|
|
"post_install": [
|
|
"$config = \"$env:LOCALAPPDATA\\JetBrains\\Toolbox\\.settings.json\"",
|
|
"if (!(Test-Path $config)) {",
|
|
" $settings = @{",
|
|
" 'autostart' = $false",
|
|
" 'install_location' = \"$dir\\apps\"",
|
|
" 'update' = @{'install_automatically' = $false}",
|
|
" }",
|
|
" New-Item $config -Type File -Force | Out-Null",
|
|
" Set-Content $config ($settings | ConvertToPrettyJson) -Encoding ASCII -Force",
|
|
"} else { # NOTE: Remove the migration script after 6 months (2024-02-15)",
|
|
" $conf_content = (Get-Content $config | ConvertFrom-Json)",
|
|
" if ($conf_content.'install_location' -eq \"$dir\") {",
|
|
" $conf_content.'install_location' = \"$dir\\apps\"",
|
|
" Set-Content $config ($conf_content | ConvertToPrettyJson) -Encoding ASCII -Force",
|
|
" }",
|
|
"}",
|
|
"# NOTE END"
|
|
],
|
|
"bin": "jetbrains-toolbox.exe",
|
|
"shortcuts": [
|
|
[
|
|
"jetbrains-toolbox.exe",
|
|
"JetBrains Toolbox"
|
|
]
|
|
],
|
|
"persist": "apps",
|
|
"checkver": {
|
|
"url": "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release",
|
|
"jsonpath": "$.TBA..build"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-$version.exe",
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|