We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 034162f commit 592f00aCopy full SHA for 592f00a
src/index.js
@@ -48,11 +48,11 @@ if (isSecondInstance) {
48
app.exit();
49
}
50
51
-// Lets disable Hardware Acceleration until we have a better solution
52
-// to deal with the high-perf-gpu requirement of some services
53
-
54
-// Disabled to test tweetdeck glitches
55
-// app.disableHardwareAcceleration();
+// Fix Unity indicator issue
+// https://github.com/electron/electron/issues/9046
+if (isLinux && ['Pantheon', 'Unity:Unity7'].indexOf(process.env.XDG_CURRENT_DESKTOP) !== -1) {
+ process.env.XDG_CURRENT_DESKTOP = 'Unity'
+}
56
57
// Initialize Settings
58
const settings = new Settings();
0 commit comments