--- ./src/Util.cpp.orig 2022-10-18 02:11:11.000000000 +0800 +++ ./src/Util.cpp 2022-10-18 12:13:33.329999639 +0800 @@ -738,7 +738,7 @@ unlink(newpath.c_str()); #ifndef _WIN32 - if (link(oldpath.c_str(), newpath.c_str()) != 0) { + if (symlink(oldpath.c_str(), newpath.c_str()) != 0) { throw core::Error(strerror(errno)); } #else