- fix indefinite progress bar when ZipExtension has been installed already

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9901 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent d30f6fe686
commit 3da079251a
  1. 4
      sdk/jme3-core/src/com/jme3/gde/core/util/ZipExtensionTool.java

@ -77,11 +77,11 @@ public class ZipExtensionTool {
}
public void install() {
ProgressHandle progressHandle = ProgressHandleFactory.createHandle("Installing " + extensionName + " data");
progressHandle.start();
if (new File(settingsFolder + File.separator + extensionName).exists()) {
return;
}
ProgressHandle progressHandle = ProgressHandleFactory.createHandle("Installing " + extensionName + " data");
progressHandle.start();
if (Utilities.isWindows()) {
extractToolsJava(packageName + "/" + extensionName + "-" + SUFFIX_WIN + ".zip", settingsFolder + File.separator + extensionName);
} else if (Utilities.isMac()) {

Loading…
Cancel
Save