fix: failed to build plugins in windows

This commit is contained in:
hgaol
2025-08-06 00:17:00 +08:00
committed by dashuai
parent 7e4edb18d4
commit af80380f23
+1
View File
@@ -484,6 +484,7 @@ func copyDirEntries(sourceFs fs.FS, sourceDir, targetDir string, ignoreDir ...st
// Construct the absolute path for the source file/directory
srcPath := filepath.Join(sourceDir, path)
srcPath = filepath.ToSlash(srcPath)
// Construct the absolute path for the destination file/directory
dstPath := filepath.Join(targetDir, path)