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:
parent
ab60d5ffe0
commit
e71affcd65
2 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue