esoftplay 0.0.260 → 0.0.262
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 +6 -3
- package/bin/cli.js +5 -1
- 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/")
|
|
@@ -335,6 +337,7 @@ export default function App() {
|
|
|
335
337
|
'react-native-mmkv',
|
|
336
338
|
'react-native-reanimated',
|
|
337
339
|
'react-native-safe-area-context',
|
|
340
|
+
"react-native-worklets",
|
|
338
341
|
'react-native-screens',
|
|
339
342
|
'react-native-webview',
|
|
340
343
|
'shorthash',
|
package/bin/cli.js
CHANGED
|
@@ -1090,7 +1090,11 @@ function buildPrepare(include = true) {
|
|
|
1090
1090
|
}
|
|
1091
1091
|
if (!fs.existsSync('./assets/esoftplaymodules')) {
|
|
1092
1092
|
fs.mkdirSync('./assets/esoftplaymodules')
|
|
1093
|
-
|
|
1093
|
+
try {
|
|
1094
|
+
command('cp -r -v ./modules/* ./assets/esoftplaymodules')
|
|
1095
|
+
} catch (error) {
|
|
1096
|
+
|
|
1097
|
+
}
|
|
1094
1098
|
}
|
|
1095
1099
|
|
|
1096
1100
|
if (fs.existsSync('./node_modules/esoftplay/modules')) {
|