From 6e598f54afea31ed0851e2da6cd893c90bee635c Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Thu, 19 Oct 2023 17:00:40 +0100 Subject: [PATCH] [KBM]Disable utility by default on new install (#29278) --- src/modules/keyboardmanager/dll/dllmain.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/keyboardmanager/dll/dllmain.cpp b/src/modules/keyboardmanager/dll/dllmain.cpp index 0f0ea94bee..e76fd5f716 100644 --- a/src/modules/keyboardmanager/dll/dllmain.cpp +++ b/src/modules/keyboardmanager/dll/dllmain.cpp @@ -168,6 +168,13 @@ public: { return m_enabled; } + + // Returns whether the PowerToys should be enabled by default + virtual bool is_enabled_by_default() const override + { + return false; + } + }; extern "C" __declspec(dllexport) PowertoyModuleIface* __cdecl powertoy_create()