ScoopInstaller_Main/jetbrains-toolbox.json
2019-01-18 17:00:25 +00:00

35 lines
1.3 KiB
JSON

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