From 2ddd584dddb1e2a75c87e7b0a82d613e4ee89d3d Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Sun, 6 Sep 2026 02:48:51 +0800 Subject: [PATCH] Create filebrowser.patch --- .github/diy/patches/filebrowser.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/diy/patches/filebrowser.patch diff --git a/.github/diy/patches/filebrowser.patch b/.github/diy/patches/filebrowser.patch new file mode 100644 index 000000000..12c6e1c71 --- /dev/null +++ b/.github/diy/patches/filebrowser.patch @@ -0,0 +1,26 @@ +--- a/filebrowser/Makefile ++++ b/filebrowser/Makefile +@@ -48,17 +48,20 @@ define Package/filebrowser/conffiles + /etc/config/filebrowser + endef + +-define Build/Compile ++define Build/Prepare ++ $(call Build/Prepare/Default) + ( \ + export PNPM_HOME="$(PKG_BUILD_DIR)/frontend" ; \ + pushd "$(PKG_BUILD_DIR)/frontend" ; \ + pnpm install --frozen-lockfile ; \ + pnpm run build ; \ +- popd ; \ +- $(call GoPackage/Build/Compile) ; \ + ) + endef + ++define Build/Compile ++ $(call GoPackage/Build/Compile) ++endef ++ + define Package/filebrowser/install + $(call GoPackage/Package/Install/Bin,$(1)) +