scripts/configure.js
function platformPostfix() {
    if (/^win/.test(process.platform)) {
        return process.arch == 'x64' ? 'win64' : 'win32';
    } else if (/^darwin/.test(process.platform)) {
        return 'osx64';
    }
    // This might not be ideal, but we don't have anything else and there is always a chance that it will work
    return process.arch == 'x64' ? 'linux64' : 'linux32';
}
function platformPostfix() {
    if (/^win/.test(process.platform)) {
        return process.arch == 'x64' ? 'win64' : 'win32';
    } else if (/^darwin/.test(process.platform)) {
        return 'osx64';
    }
    // This might not be ideal, but we don't have anything else and there is always a chance that it will work
    return process.arch == 'x64' ? 'linux64' : 'linux32';
}
function platformPostfix ( ) { if ( / ^win / . test ( process . platform ) ) { return process . arch == 'x64' ? 'win64' : 'win32' ; } else if ( / ^darwin / . test ( process . platform ) ) { return 'osx64' ; } // This might not be ideal, but we don't have anything else and there is always a chance that it will work return process . arch == 'x64' ? 'linux64' : 'linux32' ; }
Gets the platform postfix for downloads
Gets the platform postfix for downloads