From d8f2946ba61f25b19ff23d17e83de58edc571e4e Mon Sep 17 00:00:00 2001 From: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com> Date: Mon, 6 Dec 2021 13:02:09 +0100 Subject: [PATCH] Unify dll/exe naming - BackgroundActivatorDLL (#14797) --- .pipelines/pipeline.user.windows.yml | 2 +- installer/PowerToysSetup/Product.wxs | 2 +- .../BackgroundActivatorDLL/BackgroundActivatorDLL.vcxproj | 6 +----- src/common/notifications/BackgroundActivatorDLL/resource.h | 2 +- src/common/notifications/notifications.cpp | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.pipelines/pipeline.user.windows.yml b/.pipelines/pipeline.user.windows.yml index 1bbfade95c..65ed157de3 100644 --- a/.pipelines/pipeline.user.windows.yml +++ b/.pipelines/pipeline.user.windows.yml @@ -73,7 +73,7 @@ build: include: - 'PowerToys.ActionRunner.exe' - 'PowerToys.Update.exe' - - 'BackgroundActivatorDLL.dll' + - 'PowerToys.BackgroundActivatorDLL.dll' - 'Notifications.dll' - 'os-detection.dll' - 'PowerToys.exe' diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs index 733f9928d4..814e0025ff 100644 --- a/installer/PowerToysSetup/Product.wxs +++ b/installer/PowerToysSetup/Product.wxs @@ -417,7 +417,7 @@ - + diff --git a/src/common/notifications/BackgroundActivatorDLL/BackgroundActivatorDLL.vcxproj b/src/common/notifications/BackgroundActivatorDLL/BackgroundActivatorDLL.vcxproj index 32dfcd573a..854f307579 100644 --- a/src/common/notifications/BackgroundActivatorDLL/BackgroundActivatorDLL.vcxproj +++ b/src/common/notifications/BackgroundActivatorDLL/BackgroundActivatorDLL.vcxproj @@ -1,7 +1,6 @@ - 16.0 {031AC72E-FA28-4AB7-B690-6F7B9C28AA73} @@ -12,7 +11,6 @@ DynamicLibrary - @@ -32,9 +30,8 @@ - BackgroundActivatorDLL + PowerToys.BackgroundActivatorDLL - MultiThreadedDebugDLL @@ -45,7 +42,6 @@ MultiThreadedDLL - Level4 diff --git a/src/common/notifications/BackgroundActivatorDLL/resource.h b/src/common/notifications/BackgroundActivatorDLL/resource.h index 9284f65c51..aa5a85895a 100644 --- a/src/common/notifications/BackgroundActivatorDLL/resource.h +++ b/src/common/notifications/BackgroundActivatorDLL/resource.h @@ -7,7 +7,7 @@ #define FILE_DESCRIPTION "PowerToys Notifications" #define INTERNAL_NAME "Notifications" -#define ORIGINAL_FILENAME "BackgroundActivatorDLL.dll" +#define ORIGINAL_FILENAME "PowerToys.BackgroundActivatorDLL.dll" // Non-localizable ////////////////////////////// diff --git a/src/common/notifications/notifications.cpp b/src/common/notifications/notifications.cpp index 4d58bcbb38..78c81870f1 100644 --- a/src/common/notifications/notifications.cpp +++ b/src/common/notifications/notifications.cpp @@ -95,7 +95,7 @@ public: const NOTIFICATION_USER_INPUT_DATA*, ULONG) override { - auto lib = LoadLibraryW(L"BackgroundActivatorDLL.dll"); + auto lib = LoadLibraryW(L"PowerToys.BackgroundActivatorDLL.dll"); if (!lib) { return 1;