esoftplay 0.0.260 → 0.0.261

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.
Files changed (2) hide show
  1. package/bin/build.js +5 -3
  2. package/package.json +1 -1
package/bin/build.js CHANGED
@@ -88,7 +88,7 @@ if (fs.existsSync(packjson)) {
88
88
  writeFileSyncWithLog(conflivejson, JSON.stringify($config, null, 2));
89
89
  }
90
90
 
91
- let $appjson = {}
91
+ let $appjson = {}
92
92
  if (fs.existsSync(appjson))
93
93
  try {
94
94
  let appj = fs.readFileSync(appjson, 'utf8') || {}
@@ -145,9 +145,11 @@ if (fs.existsSync(packjson)) {
145
145
  "./raw/plugins/withAndroidVerifiedLinksWorkaround",
146
146
  ]
147
147
 
148
- if (fs.existsSync("./node_modules/esoftplay/assets/plugins")) {
149
- execSync("mkdir -p ./raw && cp -r ./node_modules/esoftplay/assets/plugins ./raw");
148
+ if (fs.existsSync("../../node_modules/esoftplay/assets/plugins")) {
149
+ // console.log("SAMPE SINI", "cd ../../ && mkdir -p ./raw && cp -r ./node_modules/esoftplay/assets/plugins ./raw")
150
+ execSync("cd ../../ && mkdir -p ./raw && cp -r ./node_modules/esoftplay/assets/plugins ./raw");
150
151
  } else {
152
+ // console.log(__dirname, "DIRNAMEEE")
151
153
  console.warn("Skipping copy: ./node_modules/esoftplay/assets/plugins not found");
152
154
  }
153
155
  // execSync("mkdir -p ./raw && cp -rf ./node_modules/esoftplay/assets/plugins ./raw/")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.260",
3
+ "version": "0.0.261",
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",