trust filesystem, not downloads

This commit is contained in:
henderkes
2026-05-12 10:38:33 +07:00
parent 270e2d6471
commit c1c34d8c10
4 changed files with 48 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ class ZigCheck
public function checkZig(): CheckResult
{
if (new PackageInstaller()->addInstallPackage('zig')->isPackageInstalled('zig')) {
return CheckResult::ok();
return CheckResult::ok(PKG_ROOT_PATH . '/zig/zig');
}
return CheckResult::fail('zig is not installed', 'install-zig');
}