添加书架刷新按钮 + 后端服务保活方案

前端:
- 书架筛选栏新增「↻ 刷新」按钮,点击重新加载分类和书架数据
- 新增 refreshShelf() 函数,带 loading 状态反馈
- 新增 .shelf-refresh-btn CSS 样式

后端保活:
- 新增 start_server.sh 启动脚本 (start/daemon/stop/restart/status)
- 新增 com.weread-dashboard.plist launchd 服务配置
  - KeepAlive=true: 崩溃自动重启
  - RunAtLoad=true: 开机自动启动
  - 日志输出到 /tmp/weread_server.log
This commit is contained in:
admin committed 2026-07-17 13:14:55 +08:00
1 parent 7d983e38da
commit 8333230f77
6 files changed
+161

No files matched your search

+1
View File
@@ -125,6 +125,7 @@
<label class="filter-checkbox">
<input type="checkbox" id="finishedOnly"> 仅看已读完
</label>
<button class="shelf-refresh-btn" id="shelfRefreshBtn" onclick="refreshShelf()" title="重新加载书架数据">↻ 刷新</button>
</div>
<div class="shelf-info" id="shelfInfo"></div>
</div>