1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 19:45:01 +01:00

Fix phar builder

This commit is contained in:
Daniil Gentili 2023-08-20 23:14:34 +02:00
parent 882afe2527
commit d63edc0458

View File

@ -19,7 +19,7 @@ if (!isset($argv[3])) {
@unlink($argv[2]);
$p = new Phar(__DIR__.'/../'.$argv[2], 0, $argv[2]);
$p->buildFromDirectory(realpath($argv[1]), '/^((?!tests).)*(\.php|\.py|\.exe|\.tl|\.json|\.dat|\.h)$/i');
$p->buildFromDirectory(realpath($argv[1]), '/^((?!tests).)*(\.php|\.py|\.exe|\.tl|\.json|\.dat|\.h|\.wav)$/i');
$p->setStub('<?php