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) };