Merge remote-tracking branch 'origin/v3-feat/win' into v3-feat/win

This commit is contained in:
crazywhalecc
2025-12-11 14:53:03 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ class Artifact
$target_path = $extract_config['path'];
// Check if target is a file or directory
$is_file_target = !is_dir($target_path) && str_contains($target_path, '.');
$is_file_target = !is_dir($target_path) && (pathinfo($target_path, PATHINFO_EXTENSION) !== '');
if ($is_file_target) {
// For single file extraction (e.g., vswhere.exe)