alist: localizing static resources

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml 2024-06-10 06:04:56 +08:00
parent 5b67ca7bc9
commit 8b2fb45d18
3 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ endif
define Build/Prepare define Build/Prepare
$(call Build/Prepare/Default) $(call Build/Prepare/Default)
$(TAR) --strip-components=1 -C $(PKG_BUILD_DIR)/public/dist -xzf $(DL_DIR)/$(PKG_NAME)-web-$(PKG_WEB_VERSION).tar.gz $(TAR) --strip-components=1 -C $(PKG_BUILD_DIR)/public/dist -xzf $(DL_DIR)/$(PKG_NAME)-web-$(PKG_WEB_VERSION).tar.gz
$(SED) 's_https://jsd.nn.ci/gh/alist-org/logo@main/logo.png_/assets/logo.png_g' $(PKG_BUILD_DIR)/public/dist/index.html
ifneq ($(CONFIG_ARCH_64BIT),y) ifneq ($(CONFIG_ARCH_64BIT),y)
$(RM) -rf $(PKG_BUILD_DIR)/drivers/{lark,lark.go} $(RM) -rf $(PKG_BUILD_DIR)/drivers/{lark,lark.go}
endif endif

Binary file not shown.

BIN
alist/src/public/dist/assets/logo.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB