-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(webstorm) When installing a new WebStorm minor version (e.g. 2023.2.0), an empty directory under Program Files (x86)\JetBrains\WebStorm 2023.2.0
is created
#2266
Comments
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
Still relevant. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Please do not add a comment to circumvent automatic closure unless you plan to help move it forward. |
When determining the installation directory for Datagrip, remove any `.0` suffix that might be present in the version number. Jetbrains doesn't use this part of the release version number when installing, so this causes Chocolatey to create an empty directory that never gets used or cleaned up. Fixes issue chocolatey-community#2266 .
When determining the installation directory for Webstorm, remove any `.0` suffix that might be present in the version number. Jetbrains doesn't use this part of the release version number when installing, so this causes Chocolatey to create an empty directory that never gets used or cleaned up. Fixes issue chocolatey-community#2266 .
Dear contributor, As this issue seems to have been inactive for quite some time now, I've automatically closed it. |
Still relevant - PR was raised so I'm not sure why this issue was closed. |
Chocolatey Version
2.2.0
Chocolatey License
None
Package Version
2023.2.0
Current Behaviour
Hello!
When installing the latest version of WebStorm (
2023.2.0
), line 9 sets the$installDir
variable to$programFiles\JetBrains\WebStorm $env:ChocolateyPackageVersion
. Unfortunately, this value is not quite correct for new WebStorm minor versions: when a WebStorm version number ends in.0
, the directory that the WebStorm installer will install itself into will omit the.0
patch version.The end result of this is that we end up with two directories under
Program Files (x86)
:Program Files (x86)\JetBrains\WebStorm 2023.2
, where the installer installed itself and placed all the code.Program Files (x86)\JetBrains\WebStorm 2023.2.0
, an empty directory created by theChocolateyInstall.ps1
script.Although this doesn't cause any errors, it is slightly confusing.
Expected Behaviour
Only one directory for a WebStorm install should be created, not two.
Steps To Reproduce
2023.2.0
via Chocolatey.C:\Program Files (x86)\JetBrains
WebStorm 2023.2
✅ andWebStorm 2023.2.0
❌Environment
Chocolatey Log
Anything else?
This is essentially the same issue that appears in version
2023.2.0
of theDataGrip
package discussed here:#2257
The text was updated successfully, but these errors were encountered: