Browse Source

update

master
Fangjie Hu 8 years ago
parent
commit
289dcdfae2
  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()); setLayout(new BorderLayout());
if (StableUtils.getMajorJavaVersion() == 8) { if (StableUtils.getMajorJavaVersion() == 8) {
String installHome; String installHome;
/*if (StableUtils.isDebug()) { if (StableUtils.isDebug()) {
URL url = ClassLoader.getSystemResource(""); URL url = ClassLoader.getSystemResource("");
installHome = url.getPath(); installHome = url.getPath();
addPane(installHome); addPane(installHome);
} else {*/ } else {
installHome = StableUtils.getInstallHome(); installHome = StableUtils.getInstallHome();
File file = new File(StableUtils.pathJoin(installHome, "scripts")); File file = new File(StableUtils.pathJoin(installHome, "scripts"));
if (!file.exists()) { if (!file.exists()) {
@ -61,7 +61,7 @@ public class PluginManagerPane extends BasicPane {
addPane(installHome); addPane(installHome);
updateShopScripts(); updateShopScripts();
} }
/*}*/ }
} else { } else {
initTraditionalStore(); initTraditionalStore();
} }

Loading…
Cancel
Save