Update pluginmanager.cpp

This commit is contained in:
恍兮惚兮 2024-03-30 03:08:29 +08:00
parent a2e182cd08
commit dbffe6b5a4

View File

@ -32,7 +32,6 @@ void tryaddqttoenv(std::vector<std::wstring>&collectQtplugs){
static HMODULE qt5core=0; static HMODULE qt5core=0;
if(qt5core==0) if(qt5core==0)
{ {
auto pluginpath=std::filesystem::current_path()/(x64?"plugin64":"plugin32");
wchar_t env[65535]; wchar_t env[65535];
GetEnvironmentVariableW(L"PATH",env,65535); GetEnvironmentVariableW(L"PATH",env,65535);
auto envs=std::wstring(env); auto envs=std::wstring(env);