electron/tools/get-endianness.js
Paul Betts 3ee366257c Allow bootstrap to be invoked via python2
This means that on most Linux distributions where python3 is the default, we
can invoke `python2 script/bootstrap.py` and have it all work
2016-04-07 15:43:57 +09:00

1 line
68 B
JavaScript

console.log(require('os').endianness() === 'BE' ? 'big' : 'little')