feat(modulo): improve welcome screen on macOS

This commit is contained in:
Federico Terzi 2021-06-29 20:03:23 +02:00
parent 612c8ba8e4
commit 40ea11ef94
2 changed files with 5 additions and 0 deletions

View File

@ -213,6 +213,8 @@ fn build_native() {
.file("src/sys/search/search.cpp")
.file("src/sys/wizard/wizard.cpp")
.file("src/sys/wizard/wizard_gui.cpp")
.file("src/sys/welcome/welcome.cpp")
.file("src/sys/welcome/welcome_gui.cpp")
.file("src/sys/common/mac.mm");
build.flag("-std=c++17");

View File

@ -56,6 +56,9 @@ DerivedWelcomeFrame::DerivedWelcomeFrame(wxWindow *parent)
{
wxBitmap trayBitmap = wxBitmap(metadata->tray_image_path, wxBITMAP_TYPE_PNG);
this->tray_bitmap->SetBitmap(trayBitmap);
#ifdef __WXOSX__
this->tray_info_label->SetLabel("You should see the espanso icon on the status bar:");
#endif
}
else
{