🏅 Sync 2026-10-25 22:22:42

This commit is contained in:
github-actions[bot] committed 2026-10-25 22:22:42 +08:00
1 parent 816dd89fe9
commit 53baf91238
134 files changed
+4664 -1277

No files matched your search

+5 -3
View File
@@ -7,9 +7,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=openlist2
PKG_VERSION:=4.2.8
PKG_WEB_VERSION:=4.2.6
PKG_RELEASE:=21
PKG_VERSION:=4.2.9
PKG_WEB_VERSION:=4.2.9
PKG_RELEASE:=22
PKG_SOURCE:=openlist-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/OpenListTeam/OpenList/tar.gz/v$(PKG_VERSION)?
@@ -76,6 +76,8 @@ define Build/Prepare
$(call Build/Prepare/Default)
mkdir -p $(PKG_BUILD_DIR)/public/dist
$(TAR) --strip-components=1 -C $(PKG_BUILD_DIR)/public/dist -xzf $(DL_DIR)/openlist-frontend-dist-v$(PKG_WEB_VERSION).tar.gz
mkdir -p $(PKG_BUILD_DIR)/public/dist/assets
$(CP) $(CURDIR)/src/public/dist/assets/* $(PKG_BUILD_DIR)/public/dist/assets/
$(SED) 's_https://res.oplist.org/logo_/assets_g' $(PKG_BUILD_DIR)/public/dist/index.html
$(SED) 's_https://res.oplist.org/logo_/assets_g' $(PKG_BUILD_DIR)/public/dist/static/manifest.json
find $(PKG_BUILD_DIR)/public/dist/assets -type f -name '*.js' -exec $(SED) 's_https://res.oplist.org/logo_/assets_g' {} +
+1 -1
View File
@@ -223,7 +223,7 @@ openlist2_migrate_config() {
50:30|10:5)
uci set "$prefix.log_max_size=1" && uci set "$prefix.log_max_backups=3" || return 1 ;;
esac
# These switches have no implementation in OpenList 4.2.6.
# These switches have no implementation in OpenList 4.2.9.
uci -q delete "$prefix.upload_task_persistant"
uci -q delete "$prefix.decompress_upload_task_persistant"
uci set "$prefix.config_version=2" || return 1