Skip to content

Commit

Permalink
Workaround Ubuntu 17.04 tray bug (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorIA authored and lipis committed Apr 18, 2017
1 parent bbc8c91 commit 07705ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ if (process.platform !== 'darwin') {
}
}

///////////////////////////////////////////////////////////////////////////////
// Fix indicator icon on Unity
// Source: https://bugs.launchpad.net/ubuntu/+bug/1559249
///////////////////////////////////////////////////////////////////////////////
if (process.env.XDG_CURRENT_DESKTOP.includes('Unity')) {
process.env.XDG_CURRENT_DESKTOP = 'Unity';
};

///////////////////////////////////////////////////////////////////////////////
// Auto Update
///////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 07705ed

Please sign in to comment.