From 4ed893afbd3a9b16990b530fd3fcaca679fb6d12 Mon Sep 17 00:00:00 2001 From: player-03 Date: Sun, 4 Feb 2024 18:05:54 -0500 Subject: [PATCH] Use consistent capitalization. Not that `dirSuffix` includes any letters yet, but it likely will in the future. --- tools/platforms/MacPlatform.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/platforms/MacPlatform.hx b/tools/platforms/MacPlatform.hx index bb6b93addb..00d631497a 100644 --- a/tools/platforms/MacPlatform.hx +++ b/tools/platforms/MacPlatform.hx @@ -186,8 +186,8 @@ class MacPlatform extends PlatformTarget if (noOutput) return; - NekoHelper.createExecutable(project.templatePaths, "mac" + dirSuffix, targetDirectory + "/obj/ApplicationMain.n", executablePath); - NekoHelper.copyLibraries(project.templatePaths, "mac" + dirSuffix, executableDirectory); + NekoHelper.createExecutable(project.templatePaths, "mac" + dirSuffix.toLowerCase(), targetDirectory + "/obj/ApplicationMain.n", executablePath); + NekoHelper.copyLibraries(project.templatePaths, "mac" + dirSuffix.toLowerCase(), executableDirectory); } else if (targetType == "hl") { @@ -327,7 +327,7 @@ class MacPlatform extends PlatformTarget context.NODE_FILE = executableDirectory + "/ApplicationMain.js"; context.HL_FILE = targetDirectory + "/obj/ApplicationMain.hl"; context.CPP_DIR = targetDirectory + "/obj/"; - context.BUILD_DIR = project.app.path + "/mac" + dirSuffix; + context.BUILD_DIR = project.app.path + "/mac" + dirSuffix.toLowerCase(); return context; }