I want to write a batch file which creates a release apk for my ionic projects.
execute: "cordova plugin rm cordova-plugin-console" --> Works but CMD window closes after that.
XCOPY %project% %release% /S /E /C /H /O /R /Y /D /V
cd %release%
cordova plugin rm cordova-plugin-console
-- exits the window after this command --
cordova build --release android
Any idea about that?
found the answer in a phonegap thread Return control from external command to a batch file
command is:
call cordova plugin rm cordova-plugin-console
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With