From 12b83bd590a5085045167f4e043146fbde123b85 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Thu, 29 Oct 2020 14:55:53 -0700 Subject: [PATCH] Improve error message on HL/Windows --- tools/platforms/WindowsPlatform.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/platforms/WindowsPlatform.hx b/tools/platforms/WindowsPlatform.hx index dd4c09da7..cda942b14 100644 --- a/tools/platforms/WindowsPlatform.hx +++ b/tools/platforms/WindowsPlatform.hx @@ -204,13 +204,13 @@ class WindowsPlatform extends PlatformTarget { ProjectHelper.copyLibrary(project, ndll, "Windows" + (is64 ? "64" : ""), "", ".hdll", applicationDirectory, project.debug, targetSuffix); - + if (!project.environment.exists("HL_PATH")) { var command = #if lime "lime" #else "hxp" #end; - Log.info("You must define HL_PATH to copy HL dependencies: '" + command + " setup hl' first"); - + Log.error("You must define HL_PATH to copy HashLink dependencies, please run '" + command + " setup hl' first"); + }else{ System.copyFile(project.environment.get("HL_PATH") + '/ssl.hdll', applicationDirectory + '/ssl.hdll'); }