MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / syncInstanceDirName

Method syncInstanceDirName

launcher/BaseInstance.cpp:401–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401bool BaseInstance::syncInstanceDirName(const QString& newRoot) const
402{
403 auto oldRoot = instanceRoot();
404 return oldRoot == newRoot || QFile::rename(oldRoot, newRoot);
405}
406
407void BaseInstance::registerShortcut(const ShortcutData& data)
408{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected