esoftplay 0.0.160 → 0.0.161

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 CHANGED
@@ -143,7 +143,7 @@ if (fs.existsSync(packjson)) {
143
143
  "./assets/plugins/withAndroidVerifiedLinksWorkaround",
144
144
  ]
145
145
 
146
- execSync("cp -r ./node_modules/esoftplay/plugins ./assets")
146
+ execSync("cp -r ./node_modules/esoftplay/assets/plugins ./assets")
147
147
  fs.writeFile(appjson, JSON.stringify($appjson, null, 2), (err) => {
148
148
  if (err) throw err;
149
149
  console.log('app.json has been updated');
package/bin/cli.js CHANGED
@@ -1057,6 +1057,7 @@ function buildPrepare(include = true) {
1057
1057
  fs.mkdirSync('./assets/esoftplaymodules')
1058
1058
  command('cp -r -v ./modules/* ./assets/esoftplaymodules')
1059
1059
  }
1060
+
1060
1061
  if (fs.existsSync('./node_modules/esoftplay/modules')) {
1061
1062
  fs.readdirSync('./node_modules/esoftplay/modules').forEach((module) => {
1062
1063
  if (!module.startsWith('.')) {
@@ -1080,6 +1081,7 @@ function buildPrepare(include = true) {
1080
1081
  } else {
1081
1082
  excludeOnBuild('ios', false)
1082
1083
  if (fs.existsSync('./assets/esoftplaymodules')) {
1084
+ command('rm -rf ./modules && mv ./assets/esoftplaymodules modules')
1083
1085
  consoleSucces("BUILD PREPARE SUCCESS CANCELED..!")
1084
1086
  }
1085
1087
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.160",
3
+ "version": "0.0.161",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",