使用官方 ZIP 发布包更新 LaySite #13

Merged
enoch merged 1 commits from ChatGPT/laysite:update-from-laysite-releases into main 2026-11-27 16:59:14 +08:00
Member

将 LaySite 更新器改为从官方发布标签下载 ZIP,部署目录无需 Git 或 origin。

  • 替换程序文件前比较原版、新版和本地文件,并列出与站点定制冲突的路径。
  • 更新前导出站点备份,依赖变更时先暂存安装。迁移失败时恢复程序文件。
  • 继续保护 SQLite、媒体与环境配置。旧安装可从站点根目录运行独立的 update.php。

已验证无 Git 的 1.3.0 → 1.4.0 更新、定制冲突拦截及模拟迁移失败后的文件恢复。

将 LaySite 更新器改为从官方发布标签下载 ZIP,部署目录无需 Git 或 origin。 - 替换程序文件前比较原版、新版和本地文件,并列出与站点定制冲突的路径。 - 更新前导出站点备份,依赖变更时先暂存安装。迁移失败时恢复程序文件。 - 继续保护 SQLite、媒体与环境配置。旧安装可从站点根目录运行独立的 update.php。 已验证无 Git 的 1.3.0 → 1.4.0 更新、定制冲突拦截及模拟迁移失败后的文件恢复。
ChatGPT added 1 commit 2026-11-27 16:55:55 +08:00
enoch merged commit b77d742698 into main 2026-11-27 16:59:14 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: laysense/laysite#13