IntelliJ-IDEA-Ultimate-portable: Update to version 2021.2.3-212.5457.46

This commit is contained in:
椰子 2021-10-21 11:03:03 +08:00
parent cc7106d2c9
commit 0d99b3140f
2 changed files with 10 additions and 9 deletions

View File

@ -1,18 +1,19 @@
{ {
"version": "2021.2-212.4746.92", "version": "2021.2.3-212.5457.46",
"description": "IntelliJ IDEA Ultimate. Cross-Platform Java IDE for professional developers by JetBrains.", "description": "IntelliJ IDEA Ultimate. Cross-Platform Java IDE for professional developers by JetBrains.",
"homepage": "https://www.jetbrains.com/idea/", "homepage": "https://www.jetbrains.com/idea/",
"license": { "license": {
"identifier": "Proprietary", "identifier": "Proprietary",
"url": "https://www.jetbrains.com/store/license.html" "url": "https://www.jetbrains.com/store/license.html"
}, },
"changelog": "https://www.jetbrains.com/idea/whatsnew/",
"url": [ "url": [
"https://download.jetbrains.com/idea/ideaIU-2021.2.win.zip", "https://download.jetbrains.com/idea/ideaIU-2021.2.3.win.zip",
"https://raw.githubusercontent.com/Ash258/Scoop-JetBrains/master/scripts/portable.ps1" "https://raw.githubusercontent.com/Ash258/Scoop-JetBrains/main/scripts/portable.ps1"
], ],
"hash": [ "hash": [
"73bfec312c6b3efbe652d9e1770a53cc2784ada7143c726973b8fd26d7399b40", "1d21a9802f082d6d1284c176453aa1d047b0ed02bd57cf206e810ab34d33cb13",
"5b43fc8a57d7d8d519071a50849a5db92c90ecdf56b64ac57f15fdae5b4f0572" "2255673952a7909596b8783f6e913d2301f91f0def0275fcfbc6371b0ca021f8"
], ],
"extract_to": "IDE", "extract_to": "IDE",
"installer": { "installer": {

View File

@ -11,10 +11,10 @@ param([Parameter(Mandatory)][String] $Directory, [Parameter(Mandatory)][String]
$properties = Join-Path 'IDE' 'bin\idea.properties' $properties = Join-Path 'IDE' 'bin\idea.properties'
if (-not (Join-Path $Persist $properties | Test-Path)) { if (!(Join-Path $Persist $properties | Test-Path)) {
Write-Host 'File' $properties 'does not exists. Creating.' -ForegroundColor Yellow Write-Host "File $properties does not exists. Creating." -ForegroundColor 'Yellow'
$fullProp = Join-path $Directory $properties $fullProp = Join-Path $Directory $properties
$currentForward = (Split-Path $Directory | Join-Path -ChildPath 'current') -replace '\\', '/' $currentForward = (Split-Path $Directory | Join-Path -ChildPath 'current') -replace '\\', '/'
$profileDir = "$currentForward/profile" $profileDir = "$currentForward/profile"
@ -25,5 +25,5 @@ if (-not (Join-Path $Persist $properties | Test-Path)) {
$CONT = $CONT -replace '^#\s*(idea.plugins.path=).*$', '$1${idea.config.path}/plugins' $CONT = $CONT -replace '^#\s*(idea.plugins.path=).*$', '$1${idea.config.path}/plugins'
$CONT = $CONT -replace '^#\s*(idea.log.path=).*$', '$1${idea.system.path}/log' $CONT = $CONT -replace '^#\s*(idea.log.path=).*$', '$1${idea.system.path}/log'
Set-Content $fullProp $CONT -Encoding Ascii -Force Set-Content -LiteralPath $fullProp -Value $CONT -Encoding 'Ascii' -Force
} }