Skip to content

Commit dfac385

Browse files
committed
suggestions
1 parent 40d602c commit dfac385

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/en/guide/manual-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ Here is an example of installing the tool:
512512

513513
- Download and install UPX (Linux and Windows only): `bin/spc install-pkg upx`
514514
- Download and install nasm (Windows only): `bin/spc install-pkg nasm`
515-
- Download and install go-mod-frankenphp: `bin/spc install-pkg go-mod-frankenphp`
515+
- Download and install go-xcaddy: `bin/spc install-pkg go-xcaddy`
516516

517517
## Command - del-download
518518

docs/zh/guide/manual-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ bin/spc dev:sort-config ext
460460

461461
- 下载安装 UPX(仅限 Linux 和 Windows): `bin/spc install-pkg upx`
462462
- 下载安装 nasm(仅限 Windows): `bin/spc install-pkg nasm`
463-
- 下载安装 go-mod-frankenphp: `bin/spc install-pkg go-mod-frankenphp`
463+
- 下载安装 go-xcaddy: `bin/spc install-pkg go-xcaddy`
464464

465465
## 命令 del-download - 删除已下载的资源
466466

src/SPC/builder/unix/UnixBuilderBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ protected function buildFrankenphp(): void
317317
$nowatcher = $this->getLib('watcher') === null ? ',nowatcher' : '';
318318
$xcaddyModules = getenv('SPC_CMD_VAR_FRANKENPHP_XCADDY_MODULES');
319319
// make it possible to build from a different frankenphp directory!
320-
if (!str_contains($xcaddyModules, '--with github.com/php/frankenphp')) {
320+
if (!str_contains($xcaddyModules, '--with github.com/dunglas/frankenphp')) {
321321
$xcaddyModules = '--with github.com/dunglas/frankenphp ' . $xcaddyModules;
322322
}
323323
if ($this->getLib('brotli') === null && str_contains($xcaddyModules, '--with github.com/dunglas/caddy-cbrotli')) {

0 commit comments

Comments
 (0)