Remove several warnings when building the project

Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
Yihe Li
2025-06-02 17:00:13 +08:00
parent d667dfe223
commit 5ccdb0a477
8 changed files with 9 additions and 9 deletions

View File

@@ -501,7 +501,7 @@ QString JavaUtils::getJavaCheckPath()
QStringList getMinecraftJavaBundle()
{
QStringList processpaths;
#if defined(Q_OS_OSX)
#if defined(Q_OS_MACOS)
processpaths << FS::PathCombine(QDir::homePath(), FS::PathCombine("Library", "Application Support", "minecraft", "runtime"));
#elif defined(Q_OS_WIN32)