mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request This pull request introduces updates to the build pipeline and resource configuration, primarily to support new modules and improve versioning information for the File Locksmith CLI. **Pipeline configuration updates:** * Added new WinUI3 application binaries (`PowerToys.QuickAccess.dll`, `PowerToys.QuickAccess.exe`, and `PowerToys.Settings.UI.Controls.dll`) to the ESRP signing pipeline, ensuring these modules are properly signed during the build process. **Resource and versioning improvements:** * Updated the resource file for `FileLocksmithCLI` to include version information and metadata (such as company name, file description, and product version) by referencing the shared version header. This improves traceability and consistency of version details in the executable. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [ ] Closes: #xxx <!-- - [ ] Closes: #yyy (add separate lines for additional resolved issues) --> - [x] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [x] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed, or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
#include "resource.h"
|
|
#include <windows.h>
|
|
#include "../../../common/version/version.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
#include "winres.h"
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION FILE_VERSION
|
|
PRODUCTVERSION PRODUCT_VERSION
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", COMPANY_NAME
|
|
VALUE "FileDescription", "File Locksmith CLI"
|
|
VALUE "FileVersion", FILE_VERSION_STRING
|
|
VALUE "InternalName", "FileLocksmithCLI.exe"
|
|
VALUE "LegalCopyright", COPYRIGHT_NOTE
|
|
VALUE "OriginalFilename", "FileLocksmithCLI.exe"
|
|
VALUE "ProductName", PRODUCT_NAME
|
|
VALUE "ProductVersion", PRODUCT_VERSION_STRING
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_USAGE "Usage: FileLocksmithCLI.exe [options] <path1> [path2] ...\nOptions:\n --kill Kill processes locking the files\n --json Output results in JSON format\n --wait Wait for files to be unlocked\n --timeout Timeout in milliseconds for --wait\n --help Show this help message\n"
|
|
IDS_NO_PROCESSES "No processes found locking the file(s).\n"
|
|
IDS_HEADER "PID\tUser\tProcess\n"
|
|
IDS_TERMINATED "Terminated process %1!d! (%2)\n"
|
|
IDS_FAILED_TERMINATE "Failed to terminate process %1!d! (%2)\n"
|
|
IDS_FAILED_OPEN "Failed to open process %1!d! (%2)\n"
|
|
IDS_ERROR_NO_PATHS "Error: No paths specified.\n"
|
|
IDS_WARN_JSON_WAIT "Warning: --wait is incompatible with --json. Ignoring --json.\n"
|
|
IDS_WAITING "Waiting for files to be unlocked...\n"
|
|
IDS_UNLOCKED "Files unlocked.\n"
|
|
IDS_TIMEOUT "Timeout waiting for files to be unlocked.\n"
|
|
IDS_ERROR_INVALID_TIMEOUT "Error: Invalid timeout value.\n"
|
|
IDS_ERROR_TIMEOUT_ARG "Error: --timeout requires an argument.\n"
|
|
END
|