asdasd
All checks were successful
Deploy / deploy-staging (push) Successful in 25s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-25 00:17:31 +02:00
parent 46111d8988
commit ac2d95fc56
140 changed files with 1168 additions and 1984 deletions

View File

@@ -27,7 +27,7 @@ final class App
{
$keycloakConfig = ConfigLoader::load($this->projectRoot, 'keycloak');
$auth = new KeycloakAuth($keycloakConfig);
$moduleRegistry = new ModuleRegistry($this->projectRoot . '/modules');
$moduleRegistry = new ModuleRegistry(AppPaths::customAppsRoot($this->projectRoot));
$registry = new AppRegistry($this->projectRoot . '/config/apps.php', $moduleRegistry->desktopApps());
$widgetRegistry = new WidgetRegistry($this->projectRoot . '/config/widgets.php', $moduleRegistry->widgets());
$skins = SkinResolver::all();

28
src/App/AppPaths.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace App;
final class AppPaths
{
public static function customAppsRoot(string $projectRoot): string
{
return rtrim($projectRoot, '/') . '/custom/apps';
}
public static function customAppPath(string $projectRoot, string $appName): string
{
return self::customAppsRoot($projectRoot) . '/' . trim($appName, '/');
}
public static function systemAppsRoot(string $projectRoot): string
{
return rtrim($projectRoot, '/') . '/system/apps';
}
public static function systemAppPath(string $projectRoot, string $appName): string
{
return self::systemAppsRoot($projectRoot) . '/' . trim($appName, '/');
}
}