mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
suggestion 2
This commit is contained in:
parent
3c8b588312
commit
4a0a7e0df3
@ -12,10 +12,6 @@ trait libjxl
|
||||
{
|
||||
public function patchBeforeBuild(): bool
|
||||
{
|
||||
$depsContent = file_get_contents($this->source_dir . '/deps.sh');
|
||||
if (str_contains($depsContent, '# return 0')) {
|
||||
return false;
|
||||
}
|
||||
FileSystem::replaceFileStr(
|
||||
$this->source_dir . '/deps.sh',
|
||||
['return 0', 'download_github third_party/brotli', 'download_github third_party/zlib', 'download_github third_party/libpng'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user