first commit

This commit is contained in:
huangjx
2021-09-09 22:03:08 +08:00
commit f2a2365102
74 changed files with 33916 additions and 0 deletions

23
appinfo/app.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
/**
* ownCloud - ncdownloader
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the LICENSE file.
*
* @author Xavier Beurois <www.sgc-univ.net>
* @copyright Xavier Beurois 2015
*/
namespace OCA\NcDownloader\AppInfo;
\OC::$server->getNavigationManager()->add([
'id' => 'ncdownloader',
'order' => 10,
'href' => \OC::$server->getURLGenerator()->linkToRoute('ncdownloader.Main.Index'),
'icon' => \OC::$server->getURLGenerator()->imagePath('ncdownloader', 'ncdownloader.svg'),
'name' => 'ncdownloader'
]);
//\OCP\App::registerAdmin('ncdownloader', 'settings/admin');
//\OCP\App::registerPersonal('ncdownloader', 'settings/personal');