MacPlatform: fix duplicate shell scripts when building without -clean and copyIfNewer decides the HL executable isn't newer
This commit is contained in:
@@ -203,6 +203,9 @@ class MacPlatform extends PlatformTarget
|
||||
|
||||
if (noOutput) return;
|
||||
|
||||
// ensure that the shell script is replaced by the template executable
|
||||
System.deleteFile(executablePath);
|
||||
|
||||
HashlinkHelper.copyHashlink(project, targetDirectory, executableDirectory, executablePath, true);
|
||||
|
||||
if (project.targetFlags.exists("hlc"))
|
||||
|
||||
Reference in New Issue
Block a user