mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-31 06:56:12 +02:00
WIP on QWK download support
This commit is contained in:
parent
14f7ca9dcc
commit
ee992278e8
4 changed files with 387 additions and 2 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue