session: use basename in window title

This commit is contained in:
jean-emmanuel 2019-04-02 10:35:33 +02:00
parent 758b6e84c4
commit 4e6a7b36ba
3 changed files with 10 additions and 6 deletions

View file

@ -74,6 +74,8 @@ module.exports = {
ipc.clients[clientId].sessionPath = data.path
ipc.send('setTitle', path.basename(data.path), clientId)
},
sessionOpen: function(data,clientId) {