fix: only on win32 do utf8

This commit is contained in:
TaurusXin 2024-03-22 12:29:46 +08:00
parent 0e1b9f69d9
commit d73e8c603c
1 changed files with 2 additions and 1 deletions

View File

@ -60,8 +60,9 @@ void processFilesInFolder(const fs::path &folderPath)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
#if defined(_WIN32)
win32_utf8argv(&argc, &argv); win32_utf8argv(&argc, &argv);
#endif
if (argc <= 1) if (argc <= 1)
{ {
displayHelp(); displayHelp();