diff options
author | 최종헌/MDE Lab(SR)/삼성전자 <j-h.choi@samsung.com> | 2023-07-24 13:28:12 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2023-07-24 13:28:12 +0900 |
commit | 8686d422de085db55e4336377940386902c1fa65 (patch) | |
tree | 1348e3becc07954638aa4617e521b293ab740cf3 | |
parent | aeb54e89aea8c219094ae23dc480069e5ee0cf08 (diff) | |
download | launcher-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.cc | 2 |
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()); } } |