Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #25 from dcalhoun/add-option-to-hide-dock-icon
Browse files Browse the repository at this point in the history
Add option to hide dock icon
  • Loading branch information
CWSpear authored Apr 21, 2017
2 parents c098f97 + 2b7d473 commit 00c3dce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions visor.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ module.exports = class Visor {
this.visorWindow.on('close', () => this.handleOnVisorWindowClose());
this.previousAppFocus = null;

if (this.config.hideDock) {
this.app.dock.hide();
}

if (this.visorWindow) {
this.setBounds();
}
Expand Down

0 comments on commit 00c3dce

Please sign in to comment.