Skip to content

Commit

Permalink
parser path was incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
ebshimizu committed Feb 25, 2018
1 parent 2a4b5b6 commit d0523e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stats-of-the-storm",
"version": "0.2.2",
"version": "0.2.3",
"main": "main.js",
"description": "A Heroes of the Storm stat tracking application.",
"bugs": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions parser/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ function parse(file, requestedData, opts) {
console.log("Retrieving " + requestedData[i]);

// debug version for independent testing
const script = cp.spawnSync(path.join(__dirname, 'heroprotocol/dist/heroprotocol/heroprotocol.exe'), ['--json', '--' + requestedData[i], file], {
//const script = cp.spawnSync(fixPathForAsarUnpack(path.join(__dirname, 'heroprotocol/dist/heroprotocol/heroprotocol.exe')), ['--json', '--' + requestedData[i], file], {
//const script = cp.spawnSync(path.join(__dirname, 'heroprotocol/dist/heroprotocol/heroprotocol.exe'), ['--json', '--' + requestedData[i], file], {
const script = cp.spawnSync(fixPathForAsarUnpack(path.join(__dirname, 'heroprotocol/dist/heroprotocol/heroprotocol.exe')), ['--json', '--' + requestedData[i], file], {
maxBuffer: 300000*1024 // if anyone asks why it's 300MB it's because gameevents is huge
});

Expand Down

0 comments on commit d0523e1

Please sign in to comment.