mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
jetbrains-toolbox: Move to extras (#148)
* jetbrains-toolbox: Fix manifest
- Add description
- Use jsonpath for checkver
- Do not install. Extraction is enough
- Create default configuration file if there is none.
- Old implementation was completely nonsense
- It basically add install_location all the time even when that file exists.
- So it override user setting if user wanted to change this location
Why is this manifest inside Main bucket when it is clearly GUI application with only small command line support
* Delete
This commit is contained in:
parent
b79af5a462
commit
45db0c6418
@ -1,34 +0,0 @@
|
||||
{
|
||||
"homepage": "https://jetbrains.com/",
|
||||
"version": "1.15.5387",
|
||||
"license": {
|
||||
"identifier": "Freeware",
|
||||
"url": "https://www.jetbrains.com/store/license.html"
|
||||
},
|
||||
"url": "https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.15.5387.exe",
|
||||
"hash": "05f5b98eb2e52cddb3f3e4bacada979bb542a4a93f67830dea26e4a76e50c740",
|
||||
"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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user