diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-03-19 15:12:46 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-03-19 15:12:46 +0100 |
commit | 592f00a5cbb8a06edf94501b52a676f960e7a0fe (patch) | |
tree | 812ce3629ea51d82bc3f4c5accfbd2f2d681d23a | |
parent | fix linting issue (diff) | |
download | ferdium-app-592f00a5cbb8a06edf94501b52a676f960e7a0fe.tar.gz ferdium-app-592f00a5cbb8a06edf94501b52a676f960e7a0fe.tar.zst ferdium-app-592f00a5cbb8a06edf94501b52a676f960e7a0fe.zip |
fix(Linux): Fix missing ubuntu tray icon
-rw-r--r-- | src/index.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/index.js b/src/index.js index acae356eb..9c1f94f18 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -48,11 +48,11 @@ if (isSecondInstance) { | |||
48 | app.exit(); | 48 | app.exit(); |
49 | } | 49 | } |
50 | 50 | ||
51 | // Lets disable Hardware Acceleration until we have a better solution | 51 | // Fix Unity indicator issue |
52 | // to deal with the high-perf-gpu requirement of some services | 52 | // https://github.com/electron/electron/issues/9046 |
53 | 53 | if (isLinux && ['Pantheon', 'Unity:Unity7'].indexOf(process.env.XDG_CURRENT_DESKTOP) !== -1) { | |
54 | // Disabled to test tweetdeck glitches | 54 | process.env.XDG_CURRENT_DESKTOP = 'Unity' |
55 | // app.disableHardwareAcceleration(); | 55 | } |
56 | 56 | ||
57 | // Initialize Settings | 57 | // Initialize Settings |
58 | const settings = new Settings(); | 58 | const settings = new Settings(); |