mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-11 11:11:19 +00:00
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:
parent
f78dd1130d
commit
9ca4681557
@ -16,12 +16,6 @@
|
|||||||
"bin": [
|
"bin": [
|
||||||
"jetbrains-toolbox.exe"
|
"jetbrains-toolbox.exe"
|
||||||
],
|
],
|
||||||
"shortcuts": [
|
|
||||||
[
|
|
||||||
"jetbrains-toolbox.exe",
|
|
||||||
"Jetbrains Toolbox"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"persist": "apps",
|
"persist": "apps",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release",
|
"url": "https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release",
|
||||||
@ -33,6 +27,6 @@
|
|||||||
"url": "$url.sha256"
|
"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"
|
"notes": "Set 'Install Location' to $dir to persist the installed apps"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user