This commit is contained in:
恍兮惚兮 2024-10-09 01:23:01 +08:00
parent f62dbbdcbe
commit ff871ec4f5

View File

@ -360,7 +360,7 @@ int main()
}
}
#else
{
SetConsoleOutputCP(CP_UTF8);
auto getCurrentTimestamp = []
{
auto now = std::chrono::system_clock::now();
@ -372,7 +372,6 @@ int main()
};
auto curr = getCurrentTimestamp();
freopen(curr.c_str(), "a", stderr);
}
#endif
int hr = ps.RunString(init_script);
return hr;