diff --git a/src/client/Latite.h b/src/client/Latite.h index b1f54c74..ecdb867b 100644 --- a/src/client/Latite.h +++ b/src/client/Latite.h @@ -55,7 +55,7 @@ class Latite final : public Listener { Latite() { shouldListen = true; }; ~Latite() = default; - static constexpr std::string_view version = "v2.2.0"; + static constexpr std::string_view version = "v2.3.0"; HINSTANCE dllInst = NULL; std::string gameVersion; diff --git a/src/client/script/lib/libraries/Filesystem.cpp b/src/client/script/lib/libraries/Filesystem.cpp index 3842e754..db05c3f4 100644 --- a/src/client/script/lib/libraries/Filesystem.cpp +++ b/src/client/script/lib/libraries/Filesystem.cpp @@ -284,7 +284,7 @@ JsValueRef Filesystem::readdirSync(JsValueRef callee, bool isConstructor, JsValu std::vector entries; for (auto& entry : fs::directory_iterator(path)) { - entries.push_back(entry.path().filename())); + entries.push_back(entry.path().filename()); } JsValueRef array;