mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
@ -161,7 +161,9 @@ bool Resource::enable(EnableAction action)
|
||||
path.chop(9);
|
||||
} else {
|
||||
path += ".disabled";
|
||||
path = FS::getUniqueResourceName(path);
|
||||
if (QFile::exists(path)) {
|
||||
path = FS::getUniqueResourceName(path);
|
||||
}
|
||||
}
|
||||
if (!file.rename(path))
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user