feat(generate): add generated torrent to search list after generation
This commit is contained in:
@ -69,6 +69,7 @@ class Header extends React.Component {
|
||||
if(savePath) {
|
||||
fs.writeFileSync(savePath, torrent)
|
||||
console.log('saved', torrent.length, 'to', savePath)
|
||||
torrentSocket.emit('dropTorrents', [{path: savePath}]);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user