- Renamed analytics-hub/ → analyticshub/ - App ID in info.xml is 'analyticshub' (no hyphen) - Nextcloud requires folder name to match app ID exactly - Fixes 'Could not download app analyticshub' error during installation Installation: - Upload analyticshub/ folder to /var/www/nextcloud/apps/ - Folder name must match app ID in info.xml
31 lines
565 B
PHP
31 lines
565 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\AnalyticsHub;
|
|
|
|
/**
|
|
* Application metadata and info
|
|
*/
|
|
class AppInfo {
|
|
|
|
public const APP_NAME = 'analytics_hub';
|
|
public const APP_VERSION = '1.0.0';
|
|
public const APP_AUTHOR = 'Shortcut Solutions';
|
|
public const APP_LICENSE = 'AGPL';
|
|
|
|
/**
|
|
* Get application version
|
|
*/
|
|
public static function getVersion(): string {
|
|
return self::APP_VERSION;
|
|
}
|
|
|
|
/**
|
|
* Get application name
|
|
*/
|
|
public static function getName(): string {
|
|
return self::APP_NAME;
|
|
}
|
|
}
|