Browse Source

update

master
Fangjie Hu 8 years ago
parent
commit
a03576374d
  1. 6
      designer_base/src/com/fr/design/extra/PluginManagerPane.java

6
designer_base/src/com/fr/design/extra/PluginManagerPane.java

@ -39,11 +39,11 @@ public class PluginManagerPane extends BasicPane {
setLayout(new BorderLayout());
if (StableUtils.getMajorJavaVersion() == 8) {
String installHome;
/*if (StableUtils.isDebug()) {
if (StableUtils.isDebug()) {
URL url = ClassLoader.getSystemResource("");
installHome = url.getPath();
addPane(installHome);
} else {*/
} else {
installHome = StableUtils.getInstallHome();
File file = new File(StableUtils.pathJoin(installHome, "scripts"));
if (!file.exists()) {
@ -61,7 +61,7 @@ public class PluginManagerPane extends BasicPane {
addPane(installHome);
updateShopScripts();
}
/*}*/
}
} else {
initTraditionalStore();
}

Loading…
Cancel
Save