Export php binary debug symbols for mac, linux and windows

This commit is contained in:
crazywhalecc
2025-10-31 16:48:21 +08:00
parent b05bdcd83d
commit 5a6a33303c
5 changed files with 151 additions and 138 deletions

View File

@@ -174,6 +174,9 @@ class FileSystem
logger()->debug("Copying file from {$from} to {$to}");
$dst_path = FileSystem::convertPath($to);
$src_path = FileSystem::convertPath($from);
if ($src_path === $dst_path) {
return;
}
if (!copy($src_path, $dst_path)) {
throw new FileSystemException('Cannot copy file from ' . $src_path . ' to ' . $dst_path);
}