From cab10759470c0705668273963d407248a4eb58da Mon Sep 17 00:00:00 2001 From: Imrglop <69129770+Imrglop@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:52:27 -0400 Subject: [PATCH] 2.3.0 --- src/client/Latite.h | 2 +- src/client/script/lib/libraries/Filesystem.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;