LNXSDK/Kha/Tools/khamake/khamake.js
2025-01-22 16:18:30 +01:00

8 lines
345 B
JavaScript

let versions = process.version.substring(1).split('.');
if ((Number(versions[0]) < 8 || (Number(versions[0]) === 8 && Number(versions[1]) < 9)) && process.version !== 'v7.4.0' /* Kode Studio 17.9 */) {
console.error('Requires Node.js version 8.9 or higher but found ' + process.version + '.');
process.exit(1);
}
require('./out/khamake.js');