mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Added the new ftb settings path
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit 1c3c9d2457)
This commit is contained in:
parent
1af7126582
commit
62a2217291
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ QString getFTBRoot()
|
|||
|
||||
QString getDynamicPath()
|
||||
{
|
||||
auto settingsPath = FS::PathCombine(getFTBRoot(), "bin", "settings.json");
|
||||
auto settingsPath = FS::PathCombine(getFTBRoot(), "storage", "settings.json");
|
||||
if (!QFileInfo::exists(settingsPath))
|
||||
settingsPath = FS::PathCombine(getFTBRoot(), "bin", "settings.json");
|
||||
if (!QFileInfo::exists(settingsPath)) {
|
||||
qWarning() << "The ftb app setings doesn't exist.";
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue