12 lines
326 B
JavaScript
12 lines
326 B
JavaScript
'use strict';
|
|
|
|
var packageRoot = __dirname + '/..';
|
|
var version = require(packageRoot + '/package.json').version;
|
|
var platform = process.platform;
|
|
var arch = process.arch;
|
|
var tarballName = 'libbitcoind-' + version + '-' + platform + '-' + arch + '.tgz';
|
|
|
|
if (require.main === module) {
|
|
process.stdout.write(tarballName);
|
|
}
|