forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
18
node_modules/@capacitor/cli/bin/capacitor
generated
vendored
Executable file
18
node_modules/@capacitor/cli/bin/capacitor
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env node
|
||||
'use strict';
|
||||
|
||||
var satisfies = require('semver/functions/satisfies');
|
||||
var packageJson = require('../package.json');
|
||||
var requiresNodeVersion = packageJson.engines.node;
|
||||
|
||||
if (!satisfies(process.version, requiresNodeVersion, { includePrerelease: true})) {
|
||||
process.stdout.write(
|
||||
'\x1b[31m[fatal]\x1b[39m The Capacitor CLI requires NodeJS ' + requiresNodeVersion + '\n' +
|
||||
' Please install the latest LTS version.\n'
|
||||
);
|
||||
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
var cli = require('../dist/index');
|
||||
cli.run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue