mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
* Added option to toggle the system tray icon At the moment, this hides the icon making the settings window inaccessible without first modifying the general `settings.json` file. * Use IPC messages to manage the tray icon settings * Fix launching second window binds to active settings process * Added context menu option to hide tray icon * Added Exit PT button to settings ui NavigationView.PaneFooter * Moved DllImports to NativeMethods.cs * Sentence case titles * Fix whitespace * Re-add exit icon to NavView * Re-added toggle switch to new UI * Fix build * Fix build after merge main * Fix the string to display * add shut down buttons * finish polish * fix string * Styling tweaks to titlebar and settingscards * fix comment * fix unit test * fix ut --------- Co-authored-by: Jaime Bernardo <jaime@janeasystems.com> Co-authored-by: vanzue <vanzue@outlook.com> Co-authored-by: Kayla Cinnamon <cinnamon@microsoft.com> Co-authored-by: Niels Laute <niels.laute@live.nl>
54 lines
3.0 KiB
Plaintext
54 lines
3.0 KiB
Plaintext
#include <windows.h>
|
|
#include "resource.h"
|
|
#include "../common/version/version.h"
|
|
|
|
APPICON ICON "svgs\icon.ico"
|
|
|
|
ID_TRAY_MENU MENU
|
|
BEGIN
|
|
POPUP "POPUP"
|
|
BEGIN
|
|
MENUITEM "Settings", ID_SETTINGS_MENU_COMMAND
|
|
//MENUITEM "About", ID_ABOUT_MENU_COMMAND
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Documentation" ID_DOCUMENTATION_MENU_COMMAND
|
|
MENUITEM "Report Bug" ID_REPORT_BUG_COMMAND
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Show Icon", ID_SHOW_TRAY_ICON_MENU_COMMAND
|
|
MENUITEM "Exit", ID_EXIT_MENU_COMMAND
|
|
END
|
|
END
|
|
|
|
1 VERSIONINFO
|
|
FILEVERSION FILE_VERSION
|
|
PRODUCTVERSION PRODUCT_VERSION
|
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
|
#ifdef _DEBUG
|
|
FILEFLAGS VS_FF_DEBUG
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_DLL
|
|
FILESUBTYPE VFT2_UNKNOWN
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0" // US English (0x0409), Unicode (0x04B0) charset
|
|
BEGIN
|
|
VALUE "CompanyName", COMPANY_NAME
|
|
VALUE "FileDescription", FILE_DESCRIPTION
|
|
VALUE "FileVersion", FILE_VERSION_STRING
|
|
VALUE "InternalName", INTERNAL_NAME
|
|
VALUE "LegalCopyright", COPYRIGHT_NOTE
|
|
VALUE "OriginalFilename", ORIGINAL_FILENAME
|
|
VALUE "ProductName", PRODUCT_NAME
|
|
VALUE "ProductVersion", PRODUCT_VERSION_STRING
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200 // US English (0x0409), Unicode (1200) charset
|
|
END
|
|
END
|