aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceList.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-02-10 05:34:48 -0800
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-20 14:56:32 -0700
commit2e8d04aad0d4fe3e742e4b29f4e23dc91b8ef838 (patch)
treea8d2f18a5cf68d3e5b0690c952e1909921e92c28 /launcher/InstanceList.cpp
parent3a0e4546c2a1914c18f71622727997a2a7518ad2 (diff)
downloadPrismLauncher-2e8d04aad0d4fe3e742e4b29f4e23dc91b8ef838.tar.gz
PrismLauncher-2e8d04aad0d4fe3e742e4b29f4e23dc91b8ef838.tar.bz2
PrismLauncher-2e8d04aad0d4fe3e742e4b29f4e23dc91b8ef838.zip
feat: support reflink on windows via winbtrfs!
https://github.com/maharmstone/btrfs Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/InstanceList.cpp')
-rw-r--r--launcher/InstanceList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/InstanceList.cpp b/launcher/InstanceList.cpp
index 68e3e92c..1ca16ae9 100644
--- a/launcher/InstanceList.cpp
+++ b/launcher/InstanceList.cpp
@@ -865,7 +865,7 @@ Task* InstanceList::wrapInstanceTask(InstanceTask* task)
QString InstanceList::getStagedInstancePath()
{
- QString key = QUuid::createUuid().toString();
+ QString key = QUuid::createUuid().toString().remove("{").remove("}");
QString tempDir = ".LAUNCHER_TEMP/";
QString relPath = FS::PathCombine(tempDir, key);
QDir rootPath(m_instDir);