mining checker
All checks were successful
Deploy / deploy-staging (push) Successful in 27s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-21 00:14:19 +02:00
parent 2cdd14c400
commit b81de785ac
63 changed files with 11549 additions and 1338 deletions

View File

@@ -11,6 +11,7 @@ use Desktop\DesktopState;
use Desktop\SkinResolver;
use Desktop\WidgetRegistry;
use Desktop\WindowManager;
use ModulesCore\ModuleRegistry;
final class App
{
@@ -26,7 +27,8 @@ final class App
{
$keycloakConfig = ConfigLoader::load($this->projectRoot, 'keycloak');
$auth = new KeycloakAuth($keycloakConfig);
$registry = new AppRegistry($this->projectRoot . '/config/apps.php');
$moduleRegistry = new ModuleRegistry($this->projectRoot . '/modules');
$registry = new AppRegistry($this->projectRoot . '/config/apps.php', $moduleRegistry->desktopApps());
$widgetRegistry = new WidgetRegistry($this->projectRoot . '/config/widgets.php');
$skins = SkinResolver::all();
$isAuthenticated = isset($_SESSION['desktop_auth']) && is_array($_SESSION['desktop_auth']);

View File

@@ -6,7 +6,7 @@ spl_autoload_register(static function (string $class): void {
$prefixes = [
'App\\' => __DIR__ . '/',
'Desktop\\' => dirname(__DIR__) . '/Desktop/',
'MiningChecker\\' => dirname(__DIR__) . '/MiningChecker/',
'ModulesCore\\' => dirname(__DIR__) . '/ModulesCore/',
];
foreach ($prefixes as $prefix => $baseDir) {