@getik-public/cli 1.0.1 → 1.0.2
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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/mobile-build.js +4 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/src/mobile-build.js
CHANGED
|
@@ -18,7 +18,10 @@ async function applyPatchersForExternalNpmPackages() {
|
|
|
18
18
|
let displayClosingSeparatorLine = false;
|
|
19
19
|
for (const filename of patchesInFolder) {
|
|
20
20
|
if (filename.indexOf(filenameEndsWith) === filename.length - filenameEndsWith.length) {
|
|
21
|
-
|
|
21
|
+
let pathToFile = path.join(process.cwd(), patchesFolderName, filename);
|
|
22
|
+
if (process.platform === "win32") {
|
|
23
|
+
pathToFile = path.join('file:\\', pathToFile);
|
|
24
|
+
}
|
|
22
25
|
const patcherImport = await import(pathToFile);
|
|
23
26
|
const patcher = patcherImport.default;
|
|
24
27
|
console.log('----------------------------------------------------------------------------------------------------------------------');
|