WIP on QWK download support

This commit is contained in:
Bryan Ashby
2020-05-10 21:56:05 -06:00
parent 14f7ca9dcc
commit ee992278e8
4 changed files with 387 additions and 2 deletions

View File

@@ -1242,7 +1242,12 @@ class QWKPacketWriter extends EventEmitter {
files,
this.workDir,
err => {
return cb(err);
fs.stat(packetPath, (err, stats) => {
if (stats) {
this.emit('packet', { stats, path : packetPath } );
}
return cb(err);
});
}
);
});