mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
Merge pull request #5380 from TacoGS/hotfix/ftba-path
HOTFIX: Fixing FTB app change of settings location
This commit is contained in:
commit
d4247bf3ae
@ -93,6 +93,9 @@ QString getFTBAPath() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString getFTBASettingsPath() {
|
QString getFTBASettingsPath() {
|
||||||
|
QString returnpath = FS::PathCombine(getFTBAPath(), "storage/settings.json");
|
||||||
|
if (QFileInfo::exists(returnpath))
|
||||||
|
return returnpath;
|
||||||
return FS::PathCombine(getFTBAPath(), "bin/settings.json");
|
return FS::PathCombine(getFTBAPath(), "bin/settings.json");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user