|
|
@ -159,7 +159,7 @@ public class WebViewDlgHelper { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void createLoginDialog() { |
|
|
|
public static void createLoginDialog() { |
|
|
|
if (StableUtils.getMajorJavaVersion() == VERSION_8) { |
|
|
|
if (StableUtils.getMajorJavaVersion() >= VERSION_8) { |
|
|
|
File file = new File(StableUtils.pathJoin(installHome, "scripts")); |
|
|
|
File file = new File(StableUtils.pathJoin(installHome, "scripts")); |
|
|
|
if (!file.exists()) { |
|
|
|
if (!file.exists()) { |
|
|
|
confirmDownLoadShopJS(); |
|
|
|
confirmDownLoadShopJS(); |
|
|
@ -172,7 +172,7 @@ public class WebViewDlgHelper { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void createLoginDialog(Window parent) { |
|
|
|
public static void createLoginDialog(Window parent) { |
|
|
|
if (StableUtils.getMajorJavaVersion() == VERSION_8) { |
|
|
|
if (StableUtils.getMajorJavaVersion() >= VERSION_8) { |
|
|
|
File file = new File(StableUtils.pathJoin(installHome, "scripts")); |
|
|
|
File file = new File(StableUtils.pathJoin(installHome, "scripts")); |
|
|
|
if (!file.exists()) { |
|
|
|
if (!file.exists()) { |
|
|
|
confirmDownLoadShopJS(); |
|
|
|
confirmDownLoadShopJS(); |
|
|
|