From 85d0d5fa9a179470f3629a6788b00ae2f57f6ee7 Mon Sep 17 00:00:00 2001
From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
Date: Tue, 8 Nov 2022 21:17:40 +0100
Subject: [PATCH] Load plugins from 'bin/x64_retail/plugins'
---
r5dev/pluginsystem/pluginsystem.cpp | 4 ++--
r5dev/vproj/pluginsdk.vcxproj | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/r5dev/pluginsystem/pluginsystem.cpp b/r5dev/pluginsystem/pluginsystem.cpp
index dae97be4..94a015e3 100644
--- a/r5dev/pluginsystem/pluginsystem.cpp
+++ b/r5dev/pluginsystem/pluginsystem.cpp
@@ -15,9 +15,9 @@
//-----------------------------------------------------------------------------
void CPluginSystem::PluginSystem_Init()
{
- CreateDirectories("bin\\x64_plugins\\");
+ CreateDirectories("bin\\x64_retail\\plugins");
- for (auto& it : fs::directory_iterator("bin\\x64_plugins"))
+ for (auto& it : fs::directory_iterator("bin\\x64_retail\\plugins"))
{
if (!it.is_regular_file())
continue;
diff --git a/r5dev/vproj/pluginsdk.vcxproj b/r5dev/vproj/pluginsdk.vcxproj
index 5d2a3ef1..82b5e59f 100644
--- a/r5dev/vproj/pluginsdk.vcxproj
+++ b/r5dev/vproj/pluginsdk.vcxproj
@@ -80,16 +80,16 @@
true
- $(SolutionDir)bin\$(Configuration)\
+ $(SolutionDir)game\bin\x64_retail\plugins\
$(SolutionDir)build\$(ProjectName)\$(Configuration)\
- pluginsdk_x64
+ PluginSDK
$(SolutionDir)r5dev\;$(IncludePath);
false
- $(SolutionDir)game\bin\x64_plugins\
+ $(SolutionDir)game\bin\x64_retail\plugins\
$(SolutionDir)build\$(ProjectName)\$(Configuration)\
- pluginsdk_x64
+ PluginSDK
$(SolutionDir)r5dev\;$(IncludePath);