Enable local config and data dirs on Windows, even in release builds.
This commit is contained in:
parent
aef6eb03d2
commit
d1addb438c
@ -5,6 +5,7 @@
|
||||
#include <thread>
|
||||
#include <fmt/base.h>
|
||||
#include <SDL3/SDL.h>
|
||||
#include <mijin/detect.hpp>
|
||||
#include <mijin/debug/assert.hpp>
|
||||
#include <mijin/platform/folders.hpp>
|
||||
#include <mijin/util/iterators.hpp>
|
||||
@ -318,7 +319,7 @@ bool Application::init()
|
||||
createUserDir("/data");
|
||||
|
||||
// in development builds, also add the development folders
|
||||
#if !defined(RAID_RELEASE)
|
||||
#if !defined(RAID_RELEASE) || (MIJIN_TARGET_OS == MIJIN_OS_WINDOWS)
|
||||
addConfigDir(fs::current_path() / "data/config");
|
||||
addDataDir(fs::current_path() / "data/data");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user