Skip to content

Commit

Permalink
Fix windows UPX_EXEC env var missing (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc authored Apr 25, 2024
1 parent 1a87ce4 commit b14894f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SPC/util/GlobalEnvManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private static function initWindowsEnv(BuilderBase $builder): void
{
// Windows need php-sdk binary tools
self::initIfNotExists('PHP_SDK_PATH', WORKING_DIR . DIRECTORY_SEPARATOR . 'php-sdk-binary-tools');
self::initIfNotExists('UPX_EXEC', PKG_ROOT_PATH . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . 'upx.exe');
}

private static function initLinuxEnv(BuilderBase $builder): void
Expand Down

0 comments on commit b14894f

Please sign in to comment.