Skip to content

Commit f3e1a58

Browse files
committed
And of course Files.copy is the other way around when it comes to source and destination argument order compared to symlinks.
1 parent bc2ffb4 commit f3e1a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xdk/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ val installLocalDist by tasks.registering {
299299
listOf("xcc", "xec", "xtc").forEach {
300300
val symLink = File(binDir, it)
301301
logger.info("$prefix Copying launcher '$it' -> '${launcherExe.asFile}' (on Windows, this may require developer mode settings).")
302-
Files.copy(symLink.toPath(), launcherExe.asFile.toPath())
302+
Files.copy(launcherExe.asFile.toPath(), symLink.toPath())
303303
}
304304
}
305305
}

0 commit comments

Comments
 (0)