LiuShen / AppStore完善同步更新Action脚本
0 喜欢
0 派生
2 文件
最后活跃于 1 day ago
| 1 | name: Sync commits to CNB (force) |
| 2 | |
| 3 | on: |
| 4 | schedule: |
| 5 | - cron: "0 0 * * *" # 每天凌晨 0 点强制同步(兜底) |
| 6 | - cron: "0 */6 * * *" # 每 6 小时检查一次 |
| 7 | push: |
| 8 | branches: |
| 9 | - main |
| 10 | workflow_call: # 允许被其他工作流调用 |
yxksw / Butterfly-音乐胶囊实现
0 喜欢
0 派生
5 文件
最后活跃于 1 day ago • 派生自 LiuShen/Butterfly-音乐胶囊实现
🎵 音乐胶囊模块使用说明
本仓库提供了一个可集成到 Hexo 主题 liushen 的音乐胶囊播放器模块。模块包含四个主要部分:
- 主题配置文件
- 布局模板文件
- 样式文件
- 前端脚本
本文档将详细介绍它们的放置位置、引用方式和变量配置。
| 1 | --- |
| 2 | interface Props { |
| 3 | path: string; |
| 4 | } |
| 5 | |
| 6 | import { commentConfig } from "@/config"; |
| 7 | |
| 8 | const config = { |
| 9 | el: "#twikoo", |
| 10 | path: Astro.props.path, |
| 1 | // Define the `main` function |
| 2 | |
| 3 | const proxyName = "代理模式"; |
| 4 | |
| 5 | function main (params) { |
| 6 | if (!params.proxies) return params; |
| 7 | overwriteRules (params); |
| 8 | overwriteProxyGroups (params); |
| 9 | overwriteDns (params); |
| 10 | return params; |
上一页
下一页