Skip to content

Commit

Permalink
using electronmon name in process title, setting the name if there is…
Browse files Browse the repository at this point in the history
… no package name

#6
  • Loading branch information
catdad committed Nov 4, 2019
1 parent f220d3f commit 976fbdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/electronmon.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ let globalApp;
let overrideSignal;

if (pkg.name) {
process.title = pkg.name;
process.title = `${pkg.name} - electronmon`;
} else {
process.title = 'electronmon';
}

function onTerm() {
Expand Down

0 comments on commit 976fbdc

Please sign in to comment.