Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into resource_size
This commit is contained in:
commit
34e1a5e660
83 changed files with 1140 additions and 475 deletions
|
@ -112,7 +112,7 @@ bool ResourceFolderModel::installResource(QString original_path)
|
|||
case ResourceType::ZIPFILE:
|
||||
case ResourceType::LITEMOD: {
|
||||
if (QFile::exists(new_path) || QFile::exists(new_path + QString(".disabled"))) {
|
||||
if (!QFile::remove(new_path)) {
|
||||
if (!FS::deletePath(new_path)) {
|
||||
qCritical() << "Cleaning up new location (" << new_path << ") was unsuccessful!";
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue