Skip to content

Commit

Permalink
forgot to re-add downloadscreen updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Maescool committed Dec 9, 2012
1 parent 610263b commit 7d477e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/com/mojang/mojam/downloader/Downloader.java
Expand Up @@ -432,7 +432,8 @@ public static String getMD5Checksum(String filename) throws Exception {
// unpack jar

public static boolean unpackJar(String jarFile, String destDir) {

DownloadScreen.unpackStart(new File(jarFile).getName().toString());

File jarFileJar = new File(jarFile);
File destDirDir = new File(destDir);

Expand Down Expand Up @@ -469,12 +470,14 @@ public static boolean unpackJar(String jarFile, String destDir) {
return false;
} finally {
try {
DownloadScreen.unpackStop();
zipIn.close();
input.close();
} catch (IOException e) { }
}

jarFileJar.delete();
DownloadScreen.unpackStop();
return true;
}

Expand Down

0 comments on commit 7d477e3

Please sign in to comment.