From bbd8bee55b68a0f6854ae530af069340ac447e41 Mon Sep 17 00:00:00 2001 From: xueye Date: Sat, 22 Jan 2022 22:46:09 +0800 Subject: [PATCH] IntelliJ-IDEA-Ultimate-portable: Update to version 2021.3.1-213.6461.79 --- bucket/IntelliJ-IDEA-Ultimate-portable.json | 10 +- scripts/jetbrains/portable.ps1 | 2633 ++++++++++++++++++- 2 files changed, 2614 insertions(+), 29 deletions(-) diff --git a/bucket/IntelliJ-IDEA-Ultimate-portable.json b/bucket/IntelliJ-IDEA-Ultimate-portable.json index eca7e2e..dc1b1f0 100644 --- a/bucket/IntelliJ-IDEA-Ultimate-portable.json +++ b/bucket/IntelliJ-IDEA-Ultimate-portable.json @@ -1,5 +1,5 @@ { - "version": "2021.2.3-212.5457.46", + "version": "2021.3.1-213.6461.79", "description": "IntelliJ IDEA Ultimate. Cross-Platform Java IDE for professional developers by JetBrains.", "homepage": "https://www.jetbrains.com/idea/", "license": { @@ -8,12 +8,12 @@ }, "changelog": "https://www.jetbrains.com/idea/whatsnew/", "url": [ - "https://download.jetbrains.com/idea/ideaIU-2021.2.3.win.zip", - "https://raw.githubusercontent.com/Ash258/Scoop-JetBrains/main/scripts/portable.ps1" + "https://download-cdn.jetbrains.com/idea/ideaIU-2021.3.1.win.zip", + "https://code.simaek.com/xueye/scoop-bucket/raw/branch/master/scripts/jetbrains/portable.ps1" ], "hash": [ - "1d21a9802f082d6d1284c176453aa1d047b0ed02bd57cf206e810ab34d33cb13", - "2255673952a7909596b8783f6e913d2301f91f0def0275fcfbc6371b0ca021f8" + "96e59657d95c89121473294025bcd86db7f6aca9bd13c45e2c165ead5d315da8", + "341c5cf20046327011a64065a2736b129d80a098e277c893bf71bc01f8885eb3" ], "extract_to": "IDE", "installer": { diff --git a/scripts/jetbrains/portable.ps1 b/scripts/jetbrains/portable.ps1 index 0d0577b..eec12e9 100644 --- a/scripts/jetbrains/portable.ps1 +++ b/scripts/jetbrains/portable.ps1 @@ -1,29 +1,2614 @@ -<# -.SYNOPSIS - Universal portable mode enabler - IDE subdirectory is needed. -.PARAMETER Directory - Current '$dir' of application -.PARAMETER Persist - Persist directory of application -#> -param([Parameter(Mandatory)][String] $Directory, [Parameter(Mandatory)][String] $Persist) -$properties = Join-Path 'IDE' 'bin\idea.properties' -if (!(Join-Path $Persist $properties | Test-Path)) { - Write-Host "File $properties does not exists. Creating." -ForegroundColor 'Yellow' - $fullProp = Join-Path $Directory $properties - $currentForward = (Split-Path $Directory | Join-Path -ChildPath 'current') -replace '\\', '/' - $profileDir = "$currentForward/profile" - $CONT = Get-Content $fullProp - # Set portable configuration - $CONT = $CONT -replace '^#\s*(idea.config.path=).*$', "`$1$profileDir/config" - $CONT = $CONT -replace '^#\s*(idea.system.path=).*$', "`$1$profileDir/system" - $CONT = $CONT -replace '^#\s*(idea.plugins.path=).*$', '$1${idea.config.path}/plugins' - $CONT = $CONT -replace '^#\s*(idea.log.path=).*$', '$1${idea.system.path}/log' - Set-Content -LiteralPath $fullProp -Value $CONT -Encoding 'Ascii' -Force -} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Scoop-JetBrains/portable.ps1 at main · Ash258/Scoop-JetBrains + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + + + + + + + + + + +
+ +
+ + + + + + + +
+ + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + Ash258  /   + Scoop-JetBrains  /   + +
+ + + + Type # for issues and pull requests, > for commands, and ? for help + + + Type # for issues, pull requests, and projects, > for commands, and ? for help + + + Type # for issues, pull requests, and projects, / for files, and > for commands + + +
+ +
+
+ We’ve encountered an error and some results aren't available at this time. Type a new search or try again later. +
+
+ + No results matched your search + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + Search for issues and pull requests + + # + + + + Search for issues, pull requests, discussions, and projects + + # + + + + Search for organizations, repositories, and users + + @ + + + + Search for projects + + ! + + + + Search for files + + / + + + + Activate command mode + + > + + + + Search your issues, pull requests, and discussions + + # author:@me + + + + Search your issues, pull requests, and discussions + + # author:@me + + + + Filter to pull requests + + # is:pr + + + + Filter to issues + + # is:issue + + + + Filter to discussions + + # is:discussion + + + + Filter to projects + + # is:project + + + + Filter to open issues, pull requests, and discussions + + # is:open + + + + + + + + + + + + + + + + +
+
+
+ +
+ + + + + + + + + + +
+ + + + +
+
+
+ + + + + + + + + +
+ +
+ +
+

+ + + / + + Scoop-JetBrains + + + Public +

+ +
+ +
    + + + +
  • + +
    + + + + + + + Watch + + + 7 + + + +
    +
    +

    Notifications

    + +
    + +
    +
    + + + + + + + + +
    + + +
    + + + + + Get push notifications on iOS or Android. + +
    +
    +
    +
    + + +
    +
    +
    + + + +
  • + +
  • +
    +
    +
  • + +
  • + +
    +
    + +
    +
    + +
    +
    + + + + + +
    + +
    +
    + + + + + + + +
    + +
    +
    +
    +
    +
    +
  • + +
  • + + +
  • +
+ +
+ +
+
+ + + + +
+ + + +
+
+ + Open in github.dev + Open in a new github.dev tab + + + + + + + +
+ + + + + Permalink + + +
+ +
+
+ + + main + + + + +
+
+
+ Switch branches/tags + +
+ + + +
+ +
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + +
+ + +
+
+
+
+ +
+ +
+ + + + Go to file + + +
+ + + + +
+
+
+ + + + +
+ +
+
+
 
+
+ +
+
 
+ Cannot retrieve contributors at this time +
+
+ + + + + + + + + + + +
+ +
+ + +
+ + + 29 lines (24 sloc) + + 1.13 KB +
+ +
+ + + + +
+ + + + + + + + + + + + + + + +
+ +
+
+ +
+
+ +
+ +
+
+ + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<#
.SYNOPSIS
Universal portable mode enabler
IDE subdirectory is needed.
.PARAMETER Directory
Current '$dir' of application
.PARAMETER Persist
Persist directory of application
#>
param([Parameter(Mandatory)][String] $Directory, [Parameter(Mandatory)][String] $Persist)
+
$properties = Join-Path 'IDE' 'bin\idea.properties'
+
if (!(Join-Path $Persist $properties | Test-Path)) {
Write-Host "File $properties does not exists. Creating." -ForegroundColor 'Yellow'
+
$fullProp = Join-Path $Directory $properties
$currentForward = (Split-Path $Directory | Join-Path -ChildPath 'current') -replace '\\', '/'
$profileDir = "$currentForward/profile"
+
$CONT = Get-Content $fullProp
# Set portable configuration
$CONT = $CONT -replace '^#\s*(idea.config.path=).*$', "`$1$profileDir/config"
$CONT = $CONT -replace '^#\s*(idea.system.path=).*$', "`$1$profileDir/system"
$CONT = $CONT -replace '^#\s*(idea.plugins.path=).*$', '$1${idea.config.path}/plugins'
$CONT = $CONT -replace '^#\s*(idea.log.path=).*$', '$1${idea.system.path}/log'
+
Set-Content -LiteralPath $fullProp -Value $CONT -Encoding 'Ascii' -Force
}
+
+ + + +
+ +
+ + + + +
+ + +
+ + +
+
+ + +
+ + + +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +