From 65c0639229a505bded904c334e1f5f8739c95298 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 31 May 2019 00:27:47 +0200 Subject: [PATCH] Fix phar build --- makephar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makephar.php b/makephar.php index 0409bbc4..2ab35d7b 100755 --- a/makephar.php +++ b/makephar.php @@ -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|\.tl|\.json)$/i'); +$p->buildFromDirectory(realpath($argv[1]), '/^((?!tests).)*(\.php|\.py|\.tl|\.json|\.dat)$/i'); $p->addFromString('vendor/danog/madelineproto/.git/refs/heads/master', $argv[3]); $p->addFromString('.git/refs/heads/master', $argv[3]);