mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Prevent opening desktop when in headless mode
This commit is contained in:
parent
343ae99b54
commit
a4bbad3243
@ -85,7 +85,9 @@ public class IrisProject
|
||||
|
||||
if(IrisSettings.get().getStudio().isOpenVSCode())
|
||||
{
|
||||
Desktop.getDesktop().open(i);
|
||||
if (!GraphicsEnvironment.isHeadless()) {
|
||||
Desktop.getDesktop().open(i);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user