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.
- package/bin/build.js +5 -3
- 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("
|
|
149
|
-
|
|
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/")
|