mirror of
https://github.com/chenasraf/nextcloud-jukebox.git
synced 2026-05-18 01:39:00 +00:00
30 lines
755 B
PHP
30 lines
755 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\Jukebox\AppInfo;
|
|
|
|
use OCP\AppFramework\App;
|
|
use OCP\AppFramework\Bootstrap\IBootContext;
|
|
use OCP\AppFramework\Bootstrap\IBootstrap;
|
|
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
|
|
|
class Application extends App implements IBootstrap {
|
|
public const APP_ID = 'jukebox';
|
|
public const DIST_DIR = '../dist';
|
|
public const JS_DIR = self::DIST_DIR . '/js';
|
|
public const CSS_DIR = self::DIST_DIR . '/css';
|
|
|
|
/** @psalm-suppress PossiblyUnusedMethod */
|
|
public function __construct() {
|
|
parent::__construct(self::APP_ID);
|
|
}
|
|
|
|
public function register(IRegistrationContext $context): void {
|
|
include_once __DIR__ . '/../../vendor/autoload.php';
|
|
}
|
|
|
|
public function boot(IBootContext $context): void {
|
|
}
|
|
}
|