UNPKG

@akiver/cs-demo-analyzer

Version:

Analyze and extract data from Counter-Strike demos.

15 lines (14 loc) 477 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const platform_1 = require("./platform"); try { const binPath = (0, platform_1.getBinaryPath)(); require('child_process').execFileSync(binPath, process.argv.slice(2), { stdio: 'inherit' }); } catch (error) { if (error && typeof error === 'object' && 'status' in error && typeof error.status === 'number') { process.exit(error.status); } throw error; }