Merge pull request #5380 from TacoGS/hotfix/ftba-path

HOTFIX: Fixing FTB app change of settings location
This commit is contained in:
Petr Mrázek 2024-03-28 09:50:45 +01:00 committed by GitHub
commit d4247bf3ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,6 +93,9 @@ QString getFTBAPath() {
#endif
QString getFTBASettingsPath() {
QString returnpath = FS::PathCombine(getFTBAPath(), "storage/settings.json");
if (QFileInfo::exists(returnpath))
return returnpath;
return FS::PathCombine(getFTBAPath(), "bin/settings.json");
}