Merge remote-tracking branch 'origin/v3-refactor/win-exts' into v3-refactor/win-exts

# Conflicts:
#	src/Package/Target/php/windows.php
This commit is contained in:
crazywhalecc
2026-04-06 13:16:55 +08:00
3 changed files with 14 additions and 11 deletions

View File

@@ -145,7 +145,7 @@ class PackageBuilder
shell()->exec(getenv('UPX_EXEC') . " --best {$dst}");
} elseif ($upx_option && SystemTarget::getTargetOS() === 'Windows' && $executable) {
logger()->info("Compressing {$dst} with UPX");
shell()->exec(getenv('UPX_EXEC') . ' --best ' . escapeshellarg($dst));
cmd()->exec(getenv('UPX_EXEC') . ' --best ' . escapeshellarg($dst));
}
return $dst;