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
This commit is contained in:
Eko Eryanto 2017-06-01 03:30:18 +07:00 committed by Richard Kuhnt
parent f78dd1130d
commit 9ca4681557

View File

@ -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"
}