summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com>2023-07-24 13:28:12 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2023-07-24 13:28:12 +0900
commit8686d422de085db55e4336377940386902c1fa65 (patch)
tree1348e3becc07954638aa4617e521b293ab740cf3
parentaeb54e89aea8c219094ae23dc480069e5ee0cf08 (diff)
downloadlauncher-8686d422de085db55e4336377940386902c1fa65.tar.gz
launcher-8686d422de085db55e4336377940386902c1fa65.tar.bz2
launcher-8686d422de085db55e4336377940386902c1fa65.zip
Copy only when there is .native_image folder (#474)
-rw-r--r--NativeLauncher/tool/tac_installer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NativeLauncher/tool/tac_installer.cc b/NativeLauncher/tool/tac_installer.cc
index 820ef5a..b425bbb 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))) {
+ if (!copyFile(concatPath(binNiPath, niFile), concatPath(tac_version_dir, niFile)) && exist(binNiPath)) {
_ERR("Failed to copy of %s", niFile.c_str());
}
}