mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 16:40:21 -06:00
Add direct installation for unraid patch plugin
This commit is contained in:
29
emhttp/plugins/dynamix/unraidPatch.page
Normal file
29
emhttp/plugins/dynamix/unraidPatch.page
Normal 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">
|
||||
|
||||
|
||||
: <input type="button" value="_(Install)_" onclick="installPlugin(this.form.file.value)">
|
||||
</form>
|
||||
Reference in New Issue
Block a user