mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
Fix asset server data migration
This commit is contained in:
parent
4cfe3941f4
commit
e63ac03123
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void AssetServer::run() {
|
|||
if (!_resourcesDirectory.exists()) {
|
||||
qDebug() << "Asset resources directory not found, searching for existing asset resources";
|
||||
QString oldDataDirectory = QCoreApplication::applicationDirPath();
|
||||
auto oldResourcesDirectory = QDir(oldDataDirectory).filePath(RESOURCES_PATH);
|
||||
auto oldResourcesDirectory = QDir(oldDataDirectory).filePath("resources/" + RESOURCES_PATH);
|
||||
|
||||
if (QDir(oldResourcesDirectory).exists()) {
|
||||
qDebug() << "Existing assets found in " << oldResourcesDirectory << ", copying to " << _resourcesDirectory;
|
||||
|
|
Loading…
Reference in a new issue