Add openssl lib support

This commit is contained in:
crazywhalecc
2026-01-26 00:46:42 +08:00
parent a709221223
commit ccd948e58a
8 changed files with 243 additions and 11 deletions

View File

@@ -135,6 +135,22 @@ abstract class Package
return isset($this->build_functions[PHP_OS_FAMILY]);
}
/**
* Get the PackageBuilder instance for this package.
*/
public function getBuilder(): PackageBuilder
{
return ApplicationContext::get(PackageBuilder::class);
}
/**
* Get the PackageInstaller instance for this package.
*/
public function getInstaller(): PackageInstaller
{
return ApplicationContext::get(PackageInstaller::class);
}
/**
* Get the name of the package.
*/