esoftplay 0.0.157 → 0.0.158
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/bin/build.js +4 -4
- package/bin/cli.js +5 -1
- package/modules/lib/utils.ts +0 -2
- package/package.json +1 -1
package/bin/build.js
CHANGED
|
@@ -137,10 +137,10 @@ if (fs.existsSync(packjson)) {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
$appjson.expo.plugins = [
|
|
140
|
-
"./
|
|
141
|
-
"./
|
|
142
|
-
"./
|
|
143
|
-
"./
|
|
140
|
+
"./assets/plugins/heapSize",
|
|
141
|
+
"./assets/plugins/fcmIcon",
|
|
142
|
+
"./assets/plugins/noDarkAndroid",
|
|
143
|
+
"./assets/plugins/withAndroidVerifiedLinksWorkaround",
|
|
144
144
|
]
|
|
145
145
|
|
|
146
146
|
fs.writeFile(appjson, JSON.stringify($appjson, null, 2), (err) => {
|
package/bin/cli.js
CHANGED
|
@@ -1057,6 +1057,10 @@ function buildPrepare(include = true) {
|
|
|
1057
1057
|
fs.mkdirSync('./assets/esoftplaymodules')
|
|
1058
1058
|
command('cp -r -v ./modules/* ./assets/esoftplaymodules')
|
|
1059
1059
|
}
|
|
1060
|
+
if(!fs.existsSync('./assets/plugins')){
|
|
1061
|
+
fs.mkdirSync('./assets/plugins')
|
|
1062
|
+
command('cp -r -v ./assets/plugins/* ./assets/plugins')
|
|
1063
|
+
}
|
|
1060
1064
|
|
|
1061
1065
|
if (fs.existsSync('./node_modules/esoftplay/modules')) {
|
|
1062
1066
|
fs.readdirSync('./node_modules/esoftplay/modules').forEach((module) => {
|
|
@@ -1081,7 +1085,7 @@ function buildPrepare(include = true) {
|
|
|
1081
1085
|
} else {
|
|
1082
1086
|
excludeOnBuild('ios', false)
|
|
1083
1087
|
if (fs.existsSync('./assets/esoftplaymodules')) {
|
|
1084
|
-
command('rm -rf ./modules && mv ./assets/esoftplaymodules modules')
|
|
1088
|
+
command('rm -rf ./modules && mv ./assets/esoftplaymodules modules && rm -rf ./assets/plugins')
|
|
1085
1089
|
consoleSucces("BUILD PREPARE SUCCESS CANCELED..!")
|
|
1086
1090
|
}
|
|
1087
1091
|
else
|
package/modules/lib/utils.ts
CHANGED