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