diff options
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/App/AppStore/Bundles/HubBundle.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/private/App/AppStore/Bundles/HubBundle.php b/lib/private/App/AppStore/Bundles/HubBundle.php index 501a4825772..301be810c5d 100644 --- a/lib/private/App/AppStore/Bundles/HubBundle.php +++ b/lib/private/App/AppStore/Bundles/HubBundle.php @@ -33,13 +33,19 @@ class HubBundle extends Bundle { } public function getAppIdentifiers() { - return [ + $hubApps = [ 'spreed', 'contacts', 'calendar', 'mail', - 'richdocumentscode', - 'richdocuments', ]; + + $architecture = php_uname('m'); + if (PHP_OS_FAMILY === 'Linux' && in_array($architecture, ['x86_64', 'aarch64'])) { + $hubApps[] = 'richdocuments'; + $hubApps[] = 'richdocumentscode' . ($architecture === 'aarch64' ? '_arm64' : ''); + } + + return $hubApps; } } |