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