From 9ca46815576aaffbe3d7a763de47887b05b19558 Mon Sep 17 00:00:00 2001 From: Eko Eryanto Date: Thu, 1 Jun 2017 03:30:18 +0700 Subject: [PATCH] execute 64bit bin to 64bit arch (#1533) * execute 64bit bin to 64bit arch * force on add member * prevent duplicate name on start menu * no need shortcut, NSIS already create that --- jetbrains-toolbox.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/jetbrains-toolbox.json b/jetbrains-toolbox.json index f3686a39ef..5de5df4488 100644 --- a/jetbrains-toolbox.json +++ b/jetbrains-toolbox.json @@ -16,12 +16,6 @@ "bin": [ "jetbrains-toolbox.exe" ], - "shortcuts": [ - [ - "jetbrains-toolbox.exe", - "Jetbrains Toolbox" - ] - ], "persist": "apps", "checkver": { "url": "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release", @@ -33,6 +27,6 @@ "url": "$url.sha256" } }, - "post_install": "$las=\"$Env:LOCALAPPDATA\\Jetbrains\\Toolbox\\.settings.json\"; if(Test-Path \"$las\") {(gc \"$las\") -join \"`n\"| ConvertFrom-Json | Add-Member install_location \"$dir\" -P | ConvertTo-Json -D 6| sc \"$las\"}", + "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 | ConvertTo-Json -D 6| sc \"$las\"}", "notes": "Set 'Install Location' to $dir to persist the installed apps" }