Fix: Rename app folder to match app ID
- 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
This commit is contained in:
30
analyticshub/lib/AppInfo.php
Normal file
30
analyticshub/lib/AppInfo.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user