[feat] disable and style minimize_to_tray checkbox for non-Windows platforms

This commit is contained in:
dijunkun
2026-02-13 02:29:52 +08:00
parent bf1c0f796d
commit e35365d162
2 changed files with 10 additions and 4 deletions

View File

@@ -205,11 +205,10 @@ static std::vector<std::string> browse = {
reinterpret_cast<const char*>(u8"浏览"), "Browse"};
static std::vector<std::string> default_desktop = {
reinterpret_cast<const char*>(u8"桌面"), "Desktop"};
#if _WIN32
static std::vector<std::string> minimize_to_tray = {
reinterpret_cast<const char*>(u8"退出时最小化到系统托盘:"),
"Minimize to system tray when exit:"};
#if _WIN32
static std::vector<LPCWSTR> exit_program = {L"退出", L"Exit"};
#endif
#ifdef __APPLE__