Skip to content

Commit 94262be

Browse files
authored
feat(migration): add an option to migrate from prismlauncher (#154)
2 parents 008f54e + e5f4da0 commit 94262be

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

launcher/Application.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,10 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv)
598598
{
599599
bool migrated = false;
600600

601+
if (!migrated)
602+
migrated = handleDataMigration(
603+
dataPath, FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation), "../../PrismLauncher"),
604+
"Prism Launcher", "prismlauncher.cfg");
601605
if (!migrated)
602606
migrated = handleDataMigration(
603607
dataPath, FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation), "../../PolyMC"), "PolyMC",

0 commit comments

Comments
 (0)