log command line arguments
This commit is contained in:
@@ -24,6 +24,9 @@ app.on('ready', function () {
|
||||
})
|
||||
|
||||
app.on('ipcReady', function () {
|
||||
if (argv.length) {
|
||||
windows.main.send('log', 'command line args:', argv)
|
||||
}
|
||||
argv.forEach(function (torrentId) {
|
||||
windows.main.send('dispatch', 'onOpen', torrentId)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user