HOTFIX: Fixing FTB app change of settings location

This commit is contained in:
TacoGS 2024-03-27 22:36:27 -03:00
parent 056faf3307
commit 07811bddd7
No known key found for this signature in database
GPG Key ID: CD50EBB3F0B91B50

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");
}