diff --git a/main.cpp b/main.cpp index 6518637..ab3bdbf 100644 --- a/main.cpp +++ b/main.cpp @@ -1,15 +1,13 @@ -#include -#include #include #include #include #ifdef _WIN32 -#include "resources.h" +#include +#include "resources_windows.h" #include #include -#include using char_t = wchar_t; using string = std::wstring; diff --git a/progress.cpp b/progress.cpp index e84e9f2..d23034a 100644 --- a/progress.cpp +++ b/progress.cpp @@ -8,8 +8,8 @@ #ifdef _WIN32 -#include #include +#include #include #define cout std::wcout diff --git a/tv_rename.cpp b/tv_rename.cpp index 5ea12e9..816e471 100644 --- a/tv_rename.cpp +++ b/tv_rename.cpp @@ -4,7 +4,6 @@ #include "filesystem.hpp" #include "functions.hpp" -#include "resources_linux.h" #include "tv_rename.hpp" #include "rapidjson/document.h" @@ -18,11 +17,13 @@ #ifdef _WIN32 +#include +#include "resources_windows.h" + #include #include #include #include -#include constexpr const char_t *_tv_rename_dir_divider = L"\\"; @@ -34,6 +35,8 @@ constexpr const char_t *_tv_rename_dir_divider = L"\\"; #else +#include "resources_linux.h" + constexpr const char_t *_tv_rename_dir_divider = "/"; #define cout std::cout