added support for updating yt-dlp binary;moved version info display to admin section
This commit is contained in:
@@ -39,7 +39,8 @@ class Admin implements ISettings
|
||||
$settings = Helper::getAllAdminSettings();
|
||||
$settings += [
|
||||
"path" => "/apps/ncdownloader/admin/save",
|
||||
|
||||
"aria2_version" => Helper::getAria2Version(),
|
||||
"ytdl_version" => Helper::getYtdlVersion(),
|
||||
];
|
||||
$parameters = [
|
||||
'settings' => $settings,
|
||||
|
||||
@@ -50,8 +50,6 @@ class Personal implements ISettings
|
||||
"path" => $path,
|
||||
"disallow_aria2_settings" => Helper::getAdminSettings("disallow_aria2_settings"),
|
||||
"is_admin" => \OC_User::isAdminUser($this->uid),
|
||||
"aria2_version" => Helper::getAria2Version(),
|
||||
"ytdl_version" => Helper::getYtdlVersion(),
|
||||
],
|
||||
"options" => [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user