From e70e8fddee57e96d248714c64cb26e466df856ba 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 00000000..12c6e1c7 --- /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)) +