Fix Haxe 3 compat.

This commit is contained in:
Apprentice-Alchemist
2022-04-28 19:53:31 +02:00
parent 0238825884
commit 6f196008c2
2 changed files with 8 additions and 8 deletions

View File

@@ -10,9 +10,9 @@ class HashlinkHelper
{
public static function copyHashlink(project:HXProject, targetDirectory:String, applicationDirectory:String, executablePath:String)
{
final platform = project.target;
var platform = project.target;
final hlPath = ConfigHelper.getConfigValue("HL_PATH");
var hlPath = ConfigHelper.getConfigValue("HL_PATH");
if (hlPath == null)
{
System.recursiveCopyTemplate(project.templatePaths, 'bin/hl/$platform', applicationDirectory);