update downloader, make download thing cacheable

This commit is contained in:
crazywhalecc
2023-03-18 18:26:18 +08:00
parent 880242ed93
commit b87a633496
3 changed files with 38 additions and 17 deletions

View File

@@ -142,6 +142,7 @@ class FetchSourceCommand extends BaseCommand
f_mkdir(DOWNLOAD_PATH);
// 下载 PHP
logger()->info('Fetching PHP source');
Downloader::fetchSource('php-src', Downloader::getLatestPHPInfo($ver));
// 下载别的依赖资源