ScoopInstaller_Main/jetbrains-toolbox.json
2019-04-15 15:00:24 +00:00

35 lines
1.3 KiB
JSON

{
"homepage": "https://jetbrains.com/",
"version": "1.14.5179",
"license": {
"identifier": "Freeware",
"url": "https://www.jetbrains.com/store/license.html"
},
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.14.5179.exe",
"hash": "a68e402827eea78c601bafbc75c1cd35b018ec79129fdf2c92b931d5c33003a7",
"installer": {
"args": [
"/S",
"/D=$dir"
]
},
"uninstaller": {
"file": "Uninstall.exe",
"args": "/S"
},
"bin": "jetbrains-toolbox.exe",
"persist": "apps",
"checkver": {
"url": "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release",
"re": "jetbrains-toolbox-([\\d.]+).exe"
},
"autoupdate": {
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-$version.exe",
"hash": {
"url": "$url.sha256"
}
},
"post_install": "$las=\"$Env:LOCALAPPDATA\\Jetbrains\\Toolbox\\.settings.json\"; if(Test-Path \"$las\") {(gc \"$las\") -join \"`n\"| ConvertFrom-Json | Add-Member -Force @{install_location=\"$dir\";intellij_platform=($architecture -eq '64bit')} -P | ConvertToPrettyJson | sc \"$las\"}",
"notes": "Set 'Install Location' to $dir to persist the installed apps"
}