reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit d0338ba7fe3b6377b3fe50c906fb8bcac2fa9960
parent c53a23dc6336664a1df98379958fed9c739c09f5
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Wed,  5 Jan 2022 21:48:22 -0500

allow the DLL to be installed as a symbolic link in UserPlugins

Diffstat:
Msrc/main.cpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main.cpp b/src/main.cpp @@ -93,9 +93,10 @@ static bool checkLocation(REAPER_PLUGIN_HINSTANCE module) // whose dladdr automatically resolves symbolic links from the module's path Path expected; - expected.append(FS::canonical(ReaPack::resourcePath())); + expected.append(ReaPack::resourcePath()); expected.append("UserPlugins"); expected.append(REAPACK_FILENAME); + expected = FS::canonical(expected); #ifdef _WIN32 Win32::char_type self[MAX_PATH]{};