From 6ea0c495e049470e21e91a8beb2a5123ebb97583 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=B5=9C=EC=A2=85=ED=97=8C/MDE=20Lab=28SR=29/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 24 Jul 2023 14:31:21 +0900 Subject: [PATCH] Change the priority of the function to check (#476) --- NativeLauncher/tool/tac_installer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NativeLauncher/tool/tac_installer.cc b/NativeLauncher/tool/tac_installer.cc index b425bbb..7444f94 100644 --- a/NativeLauncher/tool/tac_installer.cc +++ b/NativeLauncher/tool/tac_installer.cc @@ -121,7 +121,7 @@ static bool copyAssemblyCreateSymlink(std::string binPath, std::string tacDir, s nuget_restoration = true; break; } - if (!copyFile(concatPath(binNiPath, niFile), concatPath(tac_version_dir, niFile)) && exist(binNiPath)) { + if (exist(binNiPath) && !copyFile(concatPath(binNiPath, niFile), concatPath(tac_version_dir, niFile))) { _ERR("Failed to copy of %s", niFile.c_str()); } } -- 2.7.4