mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 04:32:52 +08:00
update 2026-11-11 12:16:13
This commit is contained in:
1 parent
30afd5f00d
commit
dc0eb451d5
19 files changed
+1042
-13
No files matched your search
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "ddnsto",
|
||||
"name": "DDNSTO",
|
||||
"icon": "logo.png",
|
||||
"staticRoot": "/usr/share/ddnsto/www",
|
||||
"desktop": {
|
||||
"mode": "builtin",
|
||||
"component": "LuciContainer",
|
||||
"props": {
|
||||
"initialPath": "/cgi-bin/luci/admin/services/ddnsto",
|
||||
"contentOnly": true,
|
||||
"isolation": "scoped-dom-css",
|
||||
"mountIds": [
|
||||
"root",
|
||||
"app"
|
||||
],
|
||||
"hideChrome": true,
|
||||
"preloadScripts": [
|
||||
"/luci-static/linkeasefull-embed/embed-prelude.js"
|
||||
],
|
||||
"preloadStyles": [
|
||||
"/luci-static/linkeasefull-embed/embed.css"
|
||||
]
|
||||
}
|
||||
},
|
||||
"standalone": {
|
||||
"url": "/cgi-bin/luci/admin/services/ddnsto"
|
||||
},
|
||||
"window": {
|
||||
"width": 980,
|
||||
"height": 700,
|
||||
"singleton": true
|
||||
},
|
||||
"capabilities": [
|
||||
"ddnsto",
|
||||
"openwrt",
|
||||
"luci",
|
||||
"network"
|
||||
],
|
||||
"categories": [
|
||||
"network",
|
||||
"service",
|
||||
"openwrt"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Called by the owning plugin and its metadata migration hook.
|
||||
set -e
|
||||
root="${IPKG_INSTROOT:-}"
|
||||
manifest="/usr/share/ddnsto/ddnsto-plugin.json"
|
||||
legacy="${root}/usr/share/linkeasefull/desktop-apps.d/16-ddnsto.json"
|
||||
[ -f "${root}${manifest}" ] || exit 0
|
||||
# Replace only the exact historical metadata payload; preserve custom entries.
|
||||
if [ -f "${legacy}" ] && [ ! -L "${legacy}" ] && [ "$(sha256sum "${legacy}" | cut -d ' ' -f 1)" = "a72a8b3e529c91b2a3bc32ef695e5f7dc2935e332fcbd3201f985e05c2c8763d" ]; then
|
||||
rm -f "${legacy}"
|
||||
fi
|
||||
if [ ! -e "${legacy}" ] && [ ! -L "${legacy}" ]; then
|
||||
mkdir -p "${legacy%/*}"
|
||||
ln -s "${manifest}" "${legacy}"
|
||||
fi
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1 @@
|
||||
/usr/share/ddnsto/ddnsto-plugin.json
|
||||
Reference in new issue
Block a user