Skip to content

Workaround for electron/electron#5050 - #7319

Merged
zcbenz merged 3 commits into
electron:masterfrom
Menci:master
Sep 29, 2016
Merged

zcbenz merged 3 commits into
electron:masterfrom
Menci:master

Conversation

@Menci

@Menci Menci commented Sep 23, 2016

Copy link
Copy Markdown
Contributor

Workaround for #5050

Chromium only show the Tray icon with libappindicator when the env XDG_CURRENT_DESKTOP's value is Unity. But under elementaryOS its value is 'Pantheon'.

Set it to Unity before app startup make the tray icon show under elementaryOS.

Chromium only show the Tray icon with libappindicator when the env `XDG_CURRENT_DESKTOP`'s value is `Unity`. But under elementaryOS its value is 'Pantheon'.

Set it to `Unity` before app startup make the tray icon show under elementaryOS.
@Menci Menci changed the title 🐧 🐛 Workaround for electron/electron#5050 Workaround for electron/electron#5050 Sep 23, 2016
@zcbenz

zcbenz commented Sep 27, 2016

Copy link
Copy Markdown
Contributor

Can you move this to lib/browser/init.js? Only using it in the main process should be enough.

@Menci

Menci commented Sep 27, 2016

Copy link
Copy Markdown
Contributor Author

OK. I hope it's not the wrong place to put it just before entering app's main.

@zeke

zeke commented Sep 27, 2016

Copy link
Copy Markdown
Contributor

@Menci you've got a linting error:

/home/travis/build/electron/electron/lib/browser/init.js:167:44: Extra semicolon.

@zcbenz

zcbenz commented Sep 29, 2016

Copy link
Copy Markdown
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants