GravitLauncher / Launcher

Улучшеный Minecraft лаунчер на основе sashok's742 v3
https://gravitlauncher.com
GNU General Public License v3.0
132 stars 105 forks source link

Java not found after change client directory via button in runtime #653

Closed daniorio closed 1 year ago

daniorio commented 1 year ago

Steps to follow:

  1. Start launcher, login and next go to setting scene
  2. Press button for change directory and select another folder
  3. Move to servers scene and start any server
  4. In downloading progress you can see error from IOHelper#resolveJavaBin "Java binary wasn't found"

P.S. You also need enable downloading and use custom java in runtime config before test it bug. Only work with custom java. P.S1. After launcher closing and reloading you cant see this error.

For fix see SettingsScene#doInit "#changeDir" button logic

daniorio commented 1 year ago

изображение

gravit0 commented 1 year ago

https://github.com/GravitLauncher/LauncherRuntime/commit/c8e6e40879254d86d87ba7e7ce28b5f2614286d4

daniorio commented 1 year ago

Solved