Commits

md_5 authored 1847da75fe2
Disable GUI check as there are sometimes when this will trigger even with a console (such as in an IDE).
No tags

src/main/java/org/spigotmc/builder/Builder.java

Modified
69 69 public static final File CWD = new File( "." );
70 70 private static final boolean autocrlf = !"\n".equals( System.getProperty( "line.separator" ) );
71 71 private static boolean dontUpdate;
72 72 private static boolean skipCompile;
73 73 private static boolean generateSource;
74 74 private static boolean generateDocs;
75 75 private static boolean dev;
76 76
77 77 public static void main(String[] args) throws Exception
78 78 {
79 - if ( System.console() == null )
79 + if ( false && System.console() == null )
80 80 {
81 81 JFrame jFrame = new JFrame();
82 82 jFrame.setTitle( "SpigotMC - BuildTools" );
83 83 jFrame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
84 84 jFrame.getContentPane().add( new JLabel( "You have to run BuildTools through bash (msysgit). Please read our wiki." ) );
85 85 jFrame.pack();
86 86 jFrame.setVisible( true );
87 87
88 88 Desktop.getDesktop().browse( new URI( "https://www.spigotmc.org/wiki/buildtools/" ) );
89 89 return;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut