Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Auto-detect appindicator library during runtime #3859

Closed
wusyong opened this issue Apr 5, 2022 · 1 comment
Closed

[feat] Auto-detect appindicator library during runtime #3859

wusyong opened this issue Apr 5, 2022 · 1 comment

Comments

@wusyong
Copy link
Member

wusyong commented Apr 5, 2022

Describe the problem

Right now there's two libraries being used for system tray on Linux: libappindicator and libayatana-appindicator. ayatana is former's fork since the old one is unmaintained. This becomes an issue because different distros might use different one. I would say the ratio is around 50:50.
Decide one during compile time means the other half won't work.

Describe the solution you'd like

Add a feature or default to auto detect the library. We can use pkg_config crate to probe if the library is exist on the end user device.

Alternatives considered

No response

Additional context

No response

@peterroe
Copy link

peterroe commented Apr 6, 2022

Hello, We need more information about your system, Maybe you can run npm run tauri info or cargo tauri info to get it.

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

Successfully merging a pull request may close this issue.

2 participants