Add direct installation for unraid patch plugin

This commit is contained in:
Squidly271
2025-01-28 16:58:39 -05:00
committed by GitHub
parent 07f96d490a
commit 8fb2675f7c

View File

@@ -0,0 +1,29 @@
Menu="About"
Title="Unraid Patch"
---
<?PHP
/* Copyright 2005-2025, Lime Technology
* Copyright 2012-2025, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<script>
function installPlugin(file) {
openPlugin("plugin install "+file,"_(Install Plugin)_","","refresh");
}
</script>
<div class="notice">_(Click **Install** to download and install the **Unraid Patch** plugin)_</div>
<form markdown="1" name="ca_install" method="POST" target="progressFrame">
<input type="hidden" name="file" value="https://ca.unraid.net/dl/https://github.com/unraid/unraid.patch/raw/refs/heads/main/plugins/unraid.patch.plg">
&nbsp;
: <input type="button" value="_(Install)_" onclick="installPlugin(this.form.file.value)">
</form>