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