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.";
|
" If you are on windows, this means your system is broken.";
|
||||||
}
|
}
|
||||||
#elif defined(Q_OS_MAC)
|
#elif defined(Q_OS_MAC)
|
||||||
ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
ftbDefault = FS::PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
||||||
#else
|
#else
|
||||||
ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
|
ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
|
||||||
#endif
|
#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.";
|
qCritical() << "Your APPDATA folder is missing! If you are on windows, this means your system is broken.";
|
||||||
}
|
}
|
||||||
#elif defined(Q_OS_MAC)
|
#elif defined(Q_OS_MAC)
|
||||||
ftbDefault = PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
ftbDefault = FS::PathCombine(QDir::homePath(), "Library/Application Support/ftblauncher");
|
||||||
#else
|
#else
|
||||||
ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
|
ftbDefault = QDir::home().absoluteFilePath(".ftblauncher");
|
||||||
#endif
|
#endif
|
||||||
|
@ -119,7 +119,7 @@ QList<JavaVersionPtr> JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString
|
|||||||
javaVersion->id = subKeyName;
|
javaVersion->id = subKeyName;
|
||||||
javaVersion->arch = archType;
|
javaVersion->arch = archType;
|
||||||
javaVersion->path =
|
javaVersion->path =
|
||||||
QDir(PathCombine(value, "bin")).absoluteFilePath("javaw.exe");
|
QDir(FS::PathCombine(value, "bin")).absoluteFilePath("javaw.exe");
|
||||||
javas.append(javaVersion);
|
javas.append(javaVersion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user