diff --git a/build-plugin.sh b/build-plugin.sh index 7ff10d0..925847f 100755 --- a/build-plugin.sh +++ b/build-plugin.sh @@ -2,7 +2,7 @@ set -eu PLUGIN="u-navigator" -VERSION="2026.06.23.r005" +VERSION="2026.06.23.r006" PKG_DIR="packages" WORK_DIR=".plugin-build" PKG_NAME="${PLUGIN}-${VERSION}.tgz" @@ -13,6 +13,7 @@ mkdir -p "$WORK_DIR/usr/local/emhttp/plugins/${PLUGIN}/assets" "$PKG_DIR" cp -R plugin-root/usr "$WORK_DIR/" cp server/public/app.js "$WORK_DIR/usr/local/emhttp/plugins/${PLUGIN}/assets/app.js" cp server/public/styles.css "$WORK_DIR/usr/local/emhttp/plugins/${PLUGIN}/assets/styles.css" +perl -0pi -e "s/__VERSION__/${VERSION}/g" "$WORK_DIR/usr/local/emhttp/plugins/${PLUGIN}/U-Navigator.page" tar -czf "$PKG_DIR/$PKG_NAME" -C "$WORK_DIR" usr rm -rf "$WORK_DIR" diff --git a/packages/u-navigator-2026.06.23.r005.tgz b/packages/u-navigator-2026.06.23.r005.tgz deleted file mode 100644 index f44e4ab..0000000 Binary files a/packages/u-navigator-2026.06.23.r005.tgz and /dev/null differ diff --git a/packages/u-navigator-2026.06.23.r006.tgz b/packages/u-navigator-2026.06.23.r006.tgz new file mode 100644 index 0000000..a66c4e1 Binary files /dev/null and b/packages/u-navigator-2026.06.23.r006.tgz differ diff --git a/plugin-root/usr/local/emhttp/plugins/u-navigator/U-Navigator.page b/plugin-root/usr/local/emhttp/plugins/u-navigator/U-Navigator.page index f87382c..58235e9 100644 --- a/plugin-root/usr/local/emhttp/plugins/u-navigator/U-Navigator.page +++ b/plugin-root/usr/local/emhttp/plugins/u-navigator/U-Navigator.page @@ -4,8 +4,9 @@ Icon="folder-open" --- - +