diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c799d12 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +*.exe diff --git a/build.bat b/build.bat new file mode 100644 index 0000000..0b5e3a6 --- /dev/null +++ b/build.bat @@ -0,0 +1 @@ +wsl x86_64-w64-mingw32-g++ -O3 -static -s -std=c++17 main.cpp -o genshin-144fps.exe \ No newline at end of file diff --git a/main.cpp b/main.cpp index 12671b7..13c7219 100644 --- a/main.cpp +++ b/main.cpp @@ -4,12 +4,14 @@ #error You must build in x64 #endif -#include -#include +#define _WIN32_WINNT 0x0601 + +#include +#include #include #include #include -#include +#include bool bStop = false;