Commits
md_5 authored 1847da75fe2
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; |