mirror of
https://github.com/Kron4ek/minecraft-vortex-launcher.git
synced 2025-03-04 03:03:10 -05:00
Unset _JAVA_OPTIONS environment variable
This environment variable may override the default Java arguments used by the launcher, which can lead to negative effects (such as too small amount memory allocated). The recommended way to change the default Java arguments is through the launcher settings.
This commit is contained in:
parent
67f82d476d
commit
5a94e0a7a3
@ -65,6 +65,8 @@ asyncDownload = ReadPreferenceInteger("AsyncDownload", asyncDownloadDefault)
|
||||
|
||||
DeleteFile(tempDirectory + "vlauncher_download_list.txt")
|
||||
|
||||
RemoveEnvironmentVariable("_JAVA_OPTIONS")
|
||||
|
||||
windowWidth = 250
|
||||
windowHeight = 250
|
||||
|
||||
|
@ -72,6 +72,8 @@ asyncDownload = ReadPreferenceInteger("AsyncDownload", asyncDownloadDefault)
|
||||
|
||||
DeleteFile(tempDirectory + "vlauncher_download_list.txt")
|
||||
|
||||
RemoveEnvironmentVariable("_JAVA_OPTIONS")
|
||||
|
||||
windowWidth = 250
|
||||
windowHeight = 250
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user