@extscreen/es-core 2.3.15 → 2.3.16
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.
- package/dist/index.js +12 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1802,6 +1802,11 @@ class ESSharedPreferencesModule {
|
|
1802
1802
|
|
1803
1803
|
var ESSharedPreferencesModule$1 = new ESSharedPreferencesModule();
|
1804
1804
|
|
1805
|
+
const ES_SDK_VERSION_20 = -1;
|
1806
|
+
const ES_SDK_VERSION_21 = 2.1;
|
1807
|
+
const ES_SDK_VERSION_22 = 2.2;
|
1808
|
+
const ES_SDK_VERSION_22_1 = 2.21;
|
1809
|
+
|
1805
1810
|
/**
|
1806
1811
|
*
|
1807
1812
|
*/
|
@@ -1909,7 +1914,13 @@ class ESManager {
|
|
1909
1914
|
* 示例:/data/data/com.extscreen.runtime/app_rpk/apps/es.com.baduanjin.tv/2.2.2203/android
|
1910
1915
|
*/
|
1911
1916
|
getESAppRuntimePath() {
|
1912
|
-
|
1917
|
+
if (this.getESSDKVersionCode() > ES_SDK_VERSION_22) {
|
1918
|
+
return this._runtimePath;
|
1919
|
+
}
|
1920
|
+
//
|
1921
|
+
else {
|
1922
|
+
return this._esMiniProgramPath;
|
1923
|
+
}
|
1913
1924
|
}
|
1914
1925
|
|
1915
1926
|
getESSDKSupportSchemes() {
|
@@ -1928,11 +1939,6 @@ class ESManager {
|
|
1928
1939
|
|
1929
1940
|
var ESManager$1 = new ESManager();
|
1930
1941
|
|
1931
|
-
const ES_SDK_VERSION_20 = -1;
|
1932
|
-
const ES_SDK_VERSION_21 = 2.1;
|
1933
|
-
const ES_SDK_VERSION_22 = 2.2;
|
1934
|
-
const ES_SDK_VERSION_22_1 = 2.21;
|
1935
|
-
|
1936
1942
|
/**
|
1937
1943
|
*
|
1938
1944
|
*/
|