@fto-consult/expo-ui 7.5.3 → 7.5.5
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/index.js +3 -3
- package/package.json +1 -1
package/bin/index.js
CHANGED
@@ -174,12 +174,12 @@ program.command('electron')
|
|
174
174
|
if(packageImport || opts.import){ //on importe le projet existant electron forge, @see : https://www.electronforge.io/import-existing-project
|
175
175
|
console.log("importing electron forge existing project....");
|
176
176
|
cmd = "npm install --save-dev @electron-forge/cli";
|
177
|
-
return exec({cmd,projectRoot:electronProjectRoot}).
|
177
|
+
return exec({cmd,projectRoot:electronProjectRoot}).finally(()=>{
|
178
178
|
cmd = `npm exec --package=@electron-forge/cli -c "electron-forge import"`;
|
179
179
|
return exec({cmd,projectRoot:electronProjectRoot}).then(()=>{
|
180
180
|
console.log("package electron forge importé avec succèss");
|
181
|
-
})
|
182
|
-
})
|
181
|
+
});
|
182
|
+
});
|
183
183
|
|
184
184
|
} else {
|
185
185
|
const electronPackage = require(`${path.resolve(electronProjectRoot,'package.json')}`);
|