mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-04 03:24:44 -04:00
GH-93 add an option to not copy saves on instance copy
This commit is contained in:
1 parent
4fbcb3efb9
commit
44db72ead5
10 files changed
+138
-60
No files matched your search
@@ -1090,7 +1090,7 @@ InstancePtr MainWindow::instanceFromZipPack(QString instName, QString instGroup,
|
||||
CustomMessageBox::selectable(this, tr("Error"), tr("Archive does not contain instance.cfg"))->show();
|
||||
return nullptr;
|
||||
}
|
||||
if (!FS::copyPath(instanceCfgFile.absoluteDir().absolutePath(), instDir))
|
||||
if (!FS::copy(instanceCfgFile.absoluteDir().absolutePath(), instDir)())
|
||||
{
|
||||
CustomMessageBox::selectable(this, tr("Error"), tr("Unable to copy instance"))->show();
|
||||
return nullptr;
|
||||
|
||||
Reference in new issue
Block a user