mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Revert "fix: prioritize .ftbapp/version.json in FTB App import"
Accidentally put this commit in my branch
This reverts commit bd49dc4e7b.
This commit is contained in:
parent
29363db4a5
commit
7dc59bc4d4
1 changed files with 2 additions and 2 deletions
|
|
@ -79,9 +79,9 @@ Modpack parseDirectory(QString path)
|
|||
return {};
|
||||
}
|
||||
|
||||
auto versionsFile = QFileInfo(FS::PathCombine(path, ".ftbapp", "version.json"));
|
||||
auto versionsFile = QFileInfo(FS::PathCombine(path, "version.json"));
|
||||
if (!versionsFile.exists() || !versionsFile.isFile()) {
|
||||
versionsFile = QFileInfo(FS::PathCombine(path, "version.json"));
|
||||
versionsFile = QFileInfo(FS::PathCombine(path, ".ftbapp", "version.json"));
|
||||
}
|
||||
if (!versionsFile.exists() || !versionsFile.isFile()) {
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue