aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-10-27 21:14:30 +0200
committerDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-27 21:23:17 +0200
commit2ba3de79d8df31d196f0cd249b1606e7233cf840 (patch)
tree6c3f89ed6ecbaeb58e18c5410024fe17ca6df9ef
parentd35c985d2ebca44903bedba87c99efb8db0f158d (diff)
downloadPrismLauncher-2ba3de79d8df31d196f0cd249b1606e7233cf840.tar.gz
PrismLauncher-2ba3de79d8df31d196f0cd249b1606e7233cf840.tar.bz2
PrismLauncher-2ba3de79d8df31d196f0cd249b1606e7233cf840.zip
chore: add comment about copy bug
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
-rw-r--r--launcher/FileSystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index 39e68c20..76cfccb0 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -401,6 +401,7 @@ bool overrideFolder(QString overwritten_path, QString override_path)
std::error_code err;
fs::copy_options opt = copy_opts::recursive | copy_opts::overwrite_existing;
+ // FIXME: hello traveller! Apparently std::copy does NOT overwrite existing files on GNU libstdc++ on Windows?
fs::copy(toStdString(override_path), toStdString(overwritten_path), opt, err);
if (err) {