aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod
diff options
context:
space:
mode:
authorRyan Cao <70191398+ryanccn@users.noreply.github.com>2022-11-14 19:26:31 +0800
committerGitHub <noreply@github.com>2022-11-14 19:26:31 +0800
commit2c9452efaf33cb22dbc29a4c6117a646f0de943f (patch)
treec5394f5194066989504b572c5a4aeeeb74d954d9 /launcher/minecraft/mod
parent97a7af855f8a96a0e73181c5e32a15bbd2cb67f2 (diff)
parent074b53eb6b71f948ff30aca601103672c5c4c812 (diff)
downloadPrismLauncher-2c9452efaf33cb22dbc29a4c6117a646f0de943f.tar.gz
PrismLauncher-2c9452efaf33cb22dbc29a4c6117a646f0de943f.tar.bz2
PrismLauncher-2c9452efaf33cb22dbc29a4c6117a646f0de943f.zip
Merge branch 'develop' into macos-add-to-path
Diffstat (limited to 'launcher/minecraft/mod')
-rw-r--r--launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp b/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
index 4b878918..cc4e252c 100644
--- a/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
+++ b/launcher/minecraft/mod/tasks/LocalModUpdateTask.cpp
@@ -36,7 +36,7 @@ LocalModUpdateTask::LocalModUpdateTask(QDir index_dir, ModPlatform::IndexedPack&
}
#ifdef Q_OS_WIN32
- SetFileAttributesA(index_dir.path().toStdString().c_str(), FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED);
+ SetFileAttributesW(index_dir.path().toStdWString().c_str(), FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_NOT_CONTENT_INDEXED);
#endif
}