ScoopInstaller_Main/jetbrains-toolbox.json
2017-11-15 15:01:51 +00:00

36 lines
1.3 KiB
JSON

{
"homepage": "https://jetbrains.com/",
"version": "1.6.2914",
"license": "https://www.jetbrains.com/store/license.html",
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.6.2914.exe",
"hash": "839418d0d61aa92aabe58e6e6a7faed3a2486e5b591cee77aafba78b2eceec8f",
"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"
}