mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 06:11:06 +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())
|
if(IrisSettings.get().getStudio().isOpenVSCode())
|
||||||
{
|
{
|
||||||
Desktop.getDesktop().open(i);
|
if (!GraphicsEnvironment.isHeadless()) {
|
||||||
|
Desktop.getDesktop().open(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user