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
--headless displays splash screen when running from console/terminal. #1171
Comments
splash screen and --headless are separate things, they are not related. Splash screen is the image shown when the JVM loads the jar, it is a setting in the jar. It is loaded and shown without any code as long as the SplashScreen-Image is set in the jar file. --headless means run using a particular game controller that output on the command line instead of in the GUI. |
@lodici is the issue starting many --headless instances and seeing multiple splash screen show up? |
If so, it seems that the only way around that is to use our own splashscreen instead of the default one. The default one is loaded and shown even before any code gets loaded, so it is not possible to disable it except with VM flags like the |
Using our own SplashScreen seems to be a bit of an overkill, instead of requiring both |
A long time since I looked at the splash screen mechanism but I think MagicMain is linked to the mechanism for preloading the splash image via a setting in
build.xml
. The workaround is to add-splash:
.The text was updated successfully, but these errors were encountered: