Add go-xcaddy,musl-toolchain,php,upx, and also glfw linux support

This commit is contained in:
crazywhalecc
2026-02-04 15:28:10 +08:00
parent 0afa1dd80c
commit e9c27dee1f
16 changed files with 365 additions and 102 deletions

View File

@@ -25,11 +25,7 @@ class ZigCheck
#[CheckItem('if zig is installed', level: 800)]
public function checkZig(): CheckResult
{
$installer = new PackageInstaller();
$package = 'zig';
$installer->addInstallPackage($package);
$installed = $installer->isPackageInstalled($package);
if ($installed) {
if (new PackageInstaller()->addInstallPackage('zig')->isPackageInstalled('zig')) {
return CheckResult::ok();
}
return CheckResult::fail('zig is not installed', 'install-zig');