session: use basename in window title

This commit is contained in:
jean-emmanuel 2019-04-02 10:35:33 +02:00
parent f841b9b56d
commit 283f9074bc
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) {