mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
NOISSUE missed a few places...
This commit is contained in:
parent
f93f867c3d
commit
4a900a58d4
@ -314,7 +314,7 @@ static QString getLocalCacheStorageLocation()
|
||||
" If you are on windows, this means your system is broken.";
|
||||
}
|
||||
#elif defined(Q_OS_MAC)
|
||||
ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
||||
ftbDefault = FS::PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
||||
#else
|
||||
ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
|
||||
#endif
|
||||
@ -337,7 +337,7 @@ static QString getRoamingStorageLocation()
|
||||
qCritical() << "Your APPDATA folder is missing! If you are on windows, this means your system is broken.";
|
||||
}
|
||||
#elif defined(Q_OS_MAC)
|
||||
ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
||||
ftbDefault = FS::PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
||||
#else
|
||||
ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
|
||||
#endif
|
||||
|
@ -119,7 +119,7 @@ QList<JavaVersionPtr> JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString
|
||||
javaVersion->id = subKeyName;
|
||||
javaVersion->arch = archType;
|
||||
javaVersion->path =
|
||||
QDir(PathCombine(value, "bin")).absoluteFilePath("javaw.exe");
|
||||
QDir(FS::PathCombine(value, "bin")).absoluteFilePath("javaw.exe");
|
||||
javas.append(javaVersion);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user