codeplay-common 1.8.4 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -108,7 +108,14 @@ if (editorDirs.length === 0) {
|
|
|
108
108
|
}
|
|
109
109
|
else
|
|
110
110
|
{
|
|
111
|
-
|
|
111
|
+
|
|
112
|
+
const latestEditorDir = editorDirs.sort((a, b) => {
|
|
113
|
+
const versionA = parseFloat(a.split('-')[1]);
|
|
114
|
+
const versionB = parseFloat(b.split('-')[1]);
|
|
115
|
+
return versionB - versionA;
|
|
116
|
+
})[0];
|
|
117
|
+
|
|
118
|
+
//const latestEditorDir = editorDirs[editorDirs.length - 1];
|
|
112
119
|
const runJsPath = path.join(baseDir, latestEditorDir, "run.js");
|
|
113
120
|
|
|
114
121
|
if (!fs.existsSync(runJsPath)) {
|
|
@@ -600,7 +607,8 @@ function validateAndroidBuildOptions() {
|
|
|
600
607
|
"com.HTML.AngularJS.Codeplay",
|
|
601
608
|
"com.html.codeplay.pro",
|
|
602
609
|
"com.bootstrap.code.play",
|
|
603
|
-
"com.kids.learning.master"
|
|
610
|
+
"com.kids.learning.master",
|
|
611
|
+
"com.Simple.Barcode.Scanner"
|
|
604
612
|
]
|
|
605
613
|
};
|
|
606
614
|
|