Skip to content

Add dummy systray_mac to fix unit tests #2187

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

Merged
merged 1 commit into from
Dec 10, 2022
Merged

Conversation

avengerweb
Copy link
Contributor

Unit tests are broken after b84a2e5 because it has build restriction only for windows.

This PR is fixing tests for MacOS by adding Systray structure that will produce NotImplemented error if someone try to use it on Mac; however it still be buildable and testable.

@stffabi
Copy link
Collaborator

stffabi commented Dec 9, 2022

Awesome, thanks so much for taking your time to fix this 🙏.

LGTM, just a little comment:
I suspect the same iasue applies to Linux. Would it be possible for you to change this to include the dummy systray for all platforms other than Windows?

@avengerweb
Copy link
Contributor Author

Will do it tonight

@leaanthony
Copy link
Member

I'll handle the Linux fix in a different PR 👍

@stffabi stffabi merged commit 7a22e0f into wailsapp:master Dec 10, 2022
@stffabi
Copy link
Collaborator

stffabi commented Dec 10, 2022

Thanks again for taking your time fixing this 🙏

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