From bd8decdfc8c857d126cced19d6e4f6cdc6eb33b8 Mon Sep 17 00:00:00 2001 From: Den Delimarsky <1389609+dend@users.noreply.github.com> Date: Mon, 10 May 2021 17:58:36 -0700 Subject: [PATCH] Update the logic for Espresso launches --- src/modules/espresso/EspressoModuleInterface/dllmain.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/espresso/EspressoModuleInterface/dllmain.cpp b/src/modules/espresso/EspressoModuleInterface/dllmain.cpp index 747587403b..1dc07afd44 100644 --- a/src/modules/espresso/EspressoModuleInterface/dllmain.cpp +++ b/src/modules/espresso/EspressoModuleInterface/dllmain.cpp @@ -78,10 +78,7 @@ private: Logger::trace(L"Launching Espresso process"); unsigned long powertoys_pid = GetCurrentProcessId(); - // Get the configuration file that will be passed to the process. - std::wstring espresso_settings_location = PTSettingsHelper::get_module_save_file_location(MODULE_NAME); - - std::wstring executable_args = L"--config " + espresso_settings_location + L" --pid " + std::to_wstring(powertoys_pid); + std::wstring executable_args = L"--use-pt-config --pid " + std::to_wstring(powertoys_pid); Logger::trace(L"Espresso launching with parameters: " + executable_args); SHELLEXECUTEINFOW sei{ sizeof(sei) };