1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 06:45:12 +03:00

Added note discouraging the use of cross-platform builds.

This commit is contained in:
Michael Keller 2020-11-22 20:00:41 +01:00
parent ab60d5ffe0
commit e71affcd65
2 changed files with 3 additions and 2 deletions

View file

@ -123,7 +123,7 @@ function getInputPlatforms() {
const supportedPlatforms = ['linux64', 'linux32', 'armv7', 'osx64', 'win32', 'win64', 'android'];
const platforms = [];
const regEx = /--(\w+)/;
console.log(process.argv);
for (let i = 3; i < process.argv.length; i++) {
const arg = process.argv[i].match(regEx)[1];
if (supportedPlatforms.indexOf(arg) > -1) {