Skip to content

Instantly share code, notes, and snippets.

@robertkruis
Created February 2, 2019 00:02
Show Gist options
  • Save robertkruis/778ae275ab3d4fa3200ca41c3b3e2be1 to your computer and use it in GitHub Desktop.
Save robertkruis/778ae275ab3d4fa3200ca41c3b3e2be1 to your computer and use it in GitHub Desktop.
A scoop file for Jetbrains Rider
{
"version": "2018.3.2",
"homepage": "https://www.jetbrains.com/rider/",
"url": "https://download.jetbrains.com/rider/JetBrains.Rider-2018.3.2.win.zip",
"hash": "352c272d9816741354245adb7140d6764734565e016decbe4df0f446d2c56c37",
"bin": [
[
"bin\\rider.bat",
"rider"
]
],
"shortcuts": [
[
"bin\\rider.bat",
"JetBrains Rider"
]
],
"persist": [
"bin\\idea.properties"
],
"post_install": [
" $contents = (Get-Content \"$dir\\bin\\idea.properties\" -Raw)",
" $paths = @(",
" \"idea.config.path=`${idea.home.path}/.Rider/config\",",
" \"idea.system.path=`${idea.home.path}/.Rider/system\",",
" \"idea.plugins.path=`${idea.config.path}/plugins\",",
" \"idea.log.path=`${idea.system.path}/log\",",
" $contents)",
" (Set-Content -Path \"$dir\\bin\\idea.properties\" -Value ([String]::Join([Environment]::NewLine, $paths)))"
],
"checkver": {
"url": "https://data.services.jetbrains.com/products/releases?code=RD&latest=true&type=release",
"jp": "$..version"
},
"autoupdate": {
"url": "https://download.jetbrains.com/rider/JetBrains.Rider-$version.win.zip",
"hash": {
"url": "https://download.jetbrains.com/rider/JetBrains.Rider-$version.win.zip"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment