From 7262930d659fc20b0d5c794e4c8750a29ded2ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=9C=9D=E6=99=96?= Date: Tue, 18 Oct 2022 01:20:45 +0800 Subject: [PATCH] Fix build on Windows --- src/app/Command/BuildCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Command/BuildCommand.php b/src/app/Command/BuildCommand.php index c44d403..00d6f57 100644 --- a/src/app/Command/BuildCommand.php +++ b/src/app/Command/BuildCommand.php @@ -59,7 +59,7 @@ public function handle() $fullCommand = sprintf( 'cd %s && ' . $composerNoDevCmd . - '%s -d phar.readonly=Off .\bin\hyperf.php phar:build --name=box-build.phar.tmp && cd .. && COPY /b %s + .\src\box-build.phar.tmp %s /y && rm .\src\box-build.phar.tmp', + '%s -d phar.readonly=Off .\bin\hyperf.php phar:build --name=box-build.phar.tmp && cd .. && COPY /b %s + .\src\box-build.phar.tmp %s /y && DEL .\src\box-build.phar.tmp', $path, $php, $micro,