Skip to content

Commit 127cf4e

Browse files
authored
[Unify dll/exe naming] Tools (microsoft#15254)
1 parent aa87683 commit 127cf4e

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.pipelines/ESRPSigning_core.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"os-detection.dll",
1616
"PowerToys.exe",
1717
"PowerToys.Interop.dll",
18-
"BugReportTool\\BugReportTool.exe",
19-
"WebcamReportTool\\WebcamReportTool.exe",
18+
"BugReportTool\\PowerToys.BugReportTool.exe",
19+
"WebcamReportTool\\PowerToys.WebcamReportTool.exe",
2020
"Telemetry.dll",
2121
"PowerToys.ManagedTelemetry.dll",
2222
"PowerToys.ManagedCommon.dll",

installer/PowerToysSetup/Product.wxs

+2-2
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,10 @@
546546

547547
<DirectoryRef Id="ToolsFolder">
548548
<Component Id="BugReportTool_exe" Guid="0F8E3E9F-2E86-4660-A3BF-AE4DD431B93C" Win64="yes">
549-
<File Source="$(var.BinX64Dir)BugReportTool\BugReportTool.exe" Id="BugReportTool.exe" KeyPath="yes" Checksum="yes" />
549+
<File Source="$(var.BinX64Dir)BugReportTool\PowerToys.BugReportTool.exe" Id="BugReportTool.exe" KeyPath="yes" Checksum="yes" />
550550
</Component>
551551
<Component Id="WebcamReportTool_exe" Guid="B6005DAC-8C26-4865-91B3-99F098422C13" Win64="yes">
552-
<File Source="$(var.BinX64Dir)WebcamReportTool\WebcamReportTool.exe" Id="WebcamReportTool.exe" Checksum="yes" />
552+
<File Source="$(var.BinX64Dir)WebcamReportTool\PowerToys.WebcamReportTool.exe" Id="WebcamReportTool.exe" Checksum="yes" />
553553
</Component>
554554
</DirectoryRef>
555555

src/runner/tray_icon.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void handle_tray_command(HWND window, const WPARAM command_id, LPARAM lparam)
9191
case ID_REPORT_BUG_COMMAND:
9292
{
9393
std::wstring bug_report_path = get_module_folderpath();
94-
bug_report_path += L"\\Tools\\BugReportTool.exe";
94+
bug_report_path += L"\\Tools\\PowerToys.BugReportTool.exe";
9595
SHELLEXECUTEINFOW sei{ sizeof(sei) };
9696
sei.fMask = { SEE_MASK_FLAG_NO_UI | SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS | SEE_MASK_NO_CONSOLE };
9797
sei.lpFile = bug_report_path.c_str();

tools/BugReportTool/BugReportTool/BugReportTool.vcxproj

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
<IntDir>$(SolutionDir)..\..\$(Platform)\$(Configuration)\obj\$(ProjectName)\</IntDir>
1515
<OutDir>$(SolutionDir)..\..\$(Platform)\$(Configuration)\$(ProjectName)\</OutDir>
1616
</PropertyGroup>
17+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
18+
<TargetName>PowerToys.$(ProjectName)</TargetName>
19+
</PropertyGroup>
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
21+
<TargetName>PowerToys.$(ProjectName)</TargetName>
22+
</PropertyGroup>
1723
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
1824
<ImportGroup Label="ExtensionSettings">
1925
</ImportGroup>

tools/WebcamReportTool/WebcamReportTool.vcxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
<PropertyGroup Label="UserMacros" />
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
2626
<LinkIncremental>true</LinkIncremental>
27-
<TargetName>WebcamReportTool</TargetName>
27+
<TargetName>PowerToys.WebcamReportTool</TargetName>
2828
<TargetExt>.exe</TargetExt>
2929
<IncludePath>include;$(IncludePath)</IncludePath>
3030
<LibraryPath>lib;$(LibraryPath)</LibraryPath>
3131
</PropertyGroup>
3232
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
3333
<LinkIncremental>false</LinkIncremental>
34-
<TargetName>WebcamReportTool</TargetName>
34+
<TargetName>PowerToys.WebcamReportTool</TargetName>
3535
<TargetExt>.exe</TargetExt>
3636
<IncludePath>include;$(IncludePath)</IncludePath>
3737
<LibraryPath>lib;$(LibraryPath)</LibraryPath>

0 commit comments

Comments
 (0)