diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-10-27 21:14:30 +0200 |
---|---|---|
committer | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2022-10-27 21:23:17 +0200 |
commit | 2ba3de79d8df31d196f0cd249b1606e7233cf840 (patch) | |
tree | 6c3f89ed6ecbaeb58e18c5410024fe17ca6df9ef | |
parent | d35c985d2ebca44903bedba87c99efb8db0f158d (diff) | |
download | PrismLauncher-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.cpp | 1 |
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) { |