ScoopInstaller_Main/jetbrains-toolbox.json
2018-07-10 18:06:40 -07:00

39 lines
1.3 KiB
JSON

{
"homepage": "https://jetbrains.com/",
"version": "1.9.3935",
"license": {
"identifier": "Freeware",
"url": "https://www.jetbrains.com/store/license.html"
},
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.9.3935.exe",
"hash": "1695b466ba256a8240ebf2a7e53504dfe99bc36905491d25e64f4a25e934259e",
"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"
}