Embed U-Navigator in Dynamix

This commit is contained in:
Mikei386
2026-06-22 22:21:49 +02:00
parent 92434a945d
commit ae5e192eac
15 changed files with 353 additions and 214 deletions
+6 -12
View File
@@ -1,37 +1,32 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "u-navigator">
<!ENTITY author "michael">
<!ENTITY version "0.1.0">
<!ENTITY version "0.2.0">
<!ENTITY package "&name;-&version;.tgz">
]>
<PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/u-navigator.plg">
<CHANGES>
### &version;
- Initial U-Navigator plugin spike.
- Installs WebGUI page, Node.js prototype backend, in-app window manager and drag-and-drop file navigator.
- Native Dynamix-embedded U-Navigator page.
- Adds PHP API endpoints for listing, upload, move and copy without a separate web server.
</CHANGES>
<FILE Name="/boot/config/plugins/&name;/&package;">
<URL>https://git.casaderoll.de/michael/Unraid-Navigator/raw/branch/main/packages/&package;</URL>
<MD5>9d6e248cb70c803f04bf491b06520764</MD5>
<MD5>47fea71317002e9ea131ca468a870c69</MD5>
</FILE>
<FILE Run="/bin/bash">
<INLINE>
mkdir -p /boot/config/plugins/&name;
tar -xzf /boot/config/plugins/&name;/&package; -C /
chmod +x /usr/local/emhttp/plugins/&name;/scripts/rc.u-navigator
ln -sf /usr/local/emhttp/plugins/&name;/scripts/rc.u-navigator /usr/local/sbin/rc.u-navigator
find /boot/config/plugins/&name; -type f -name "&name;-*.tgz" ! -name "&package;" -delete
echo ""
echo "-----------------------------------------------------------"
echo " &name; &version; has been installed."
echo ""
echo " Start: rc.u-navigator start"
echo " Stop: rc.u-navigator stop"
echo " Status: rc.u-navigator status"
echo ""
echo " Note: This prototype requires Node.js to be available on Unraid."
echo " Open: Tools -> U-Navigator"
echo "-----------------------------------------------------------"
echo ""
</INLINE>
@@ -39,7 +34,6 @@ echo ""
<FILE Run="/bin/bash" Method="remove">
<INLINE>
rc.u-navigator stop 2>/dev/null || true
rm -f /usr/local/sbin/rc.u-navigator
rm -rf /usr/local/emhttp/plugins/&name;
rm -rf /boot/config/plugins/&name;