infacto commented on issue #528: URL: https://github.com/apache/cordova-cli/issues/528#issuecomment-685285186
Ok [seymour](https://github.com/dpogue/seymour) works now for me. Because I call it directly in a NodeJS script, instead of using env vars and call via CLI. **build.js** ```js const seymour = require('seymour'); seymour([], { SEY_APP_NAME: 'MyApp', SEY_APP_ID: 'com.my.app', SEY_APP_VERSION: '1.2.3', SEY_BUILD_TYPE: 'release' }); ``` Call: `node build.js`. It's optimal for me, because I use the app metadata from a custom json file. For me it's better than env vars. But, this solution is like my solution. My solution is to parse and write xml via JavaScript. Seymour also changes the `config.xml` file. I wanted to avoid that. ... I hope for a solution to pass arguments to the cli or use a temporary file for this. Cordova could check if a file exists to overwrite the some data of config.xml. Or the CLI arguments solution. 🤔 Which Cordova repo is the right one for this? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
