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