()
| 23 | public static File installDirectory; |
| 24 | |
| 25 | public Frame() throws IOException, IllegalAccessException { |
| 26 | Utils.setUI(UIManager.getSystemLookAndFeelClassName()); |
| 27 | |
| 28 | thisFile = Utils.getRunningJar(); |
| 29 | if (thisFile == null) { |
| 30 | throw new IOException("Could not find current file!"); |
| 31 | } |
| 32 | |
| 33 | modVersion = Version.VERSION; |
| 34 | minecraftVersion = Version.MCVERSION; |
| 35 | log("Loading " + InstallerNew.getVersionName(minecraftVersion) + "..."); |
| 36 | |
| 37 | Images.load(); |
| 38 | installDirectory = getMinecraftDirectory(); |
| 39 | init(); |
| 40 | } |
| 41 | |
| 42 | public static void main(String[] args) { |
| 43 | try { |
nothing calls this directly
no test coverage detected