From 3543218722cc76fc083e1d59b9497cf2776a10f4 Mon Sep 17 00:00:00 2001 From: morg Date: Mon, 3 May 2021 16:27:41 +0200 Subject: [PATCH] Automatically create the plugins folder --- ResourceManager.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ResourceManager.cpp b/ResourceManager.cpp index 210d7c6d..36391bad 100644 --- a/ResourceManager.cpp +++ b/ResourceManager.cpp @@ -307,6 +307,13 @@ std::string ResourceManager::GetConfigurationDirectory() | Create OpenRGB configuration directory if it doesn't exist | \*-------------------------------------------------------------------------*/ filesystem::create_directories(config_dir); + + /*-------------------------------------------------------------------------*\ + | Create OpenRGB plugins directory | + \*-------------------------------------------------------------------------*/ + std::string plugins_dir = config_dir + "plugins"; + + filesystem::create_directories(plugins_dir); } else {