@getik-public/cli 1.0.0 → 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 +8 -0
- package/package.json +1 -1
- package/src/mobile-build.js +5 -2
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('----------------------------------------------------------------------------------------------------------------------');
|
|
@@ -169,7 +172,7 @@ function copyFinalBuildToRootFolder(options) {
|
|
|
169
172
|
}
|
|
170
173
|
|
|
171
174
|
|
|
172
|
-
function buildPathToIosBuildFile() {
|
|
175
|
+
function buildPathToIosBuildFile(options) {
|
|
173
176
|
const env = options.environment.toLowerCase().split('debug')[0];
|
|
174
177
|
const filename = `${env}.ipa`;
|
|
175
178
|
|