Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Hommy-master
capcut-mate
Repository navigation
Code
Issues
6
(6)
Pull requests
4
(4)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Releases
v8.1.18
Release v8.1.18
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
Hommy-master
released this
18 Nov 01:50
·
12 commits
to main since this release
v8.1.18
87dc376
📝 改动说明
🐛 问题修复
修复 macOS 上草稿下载成功后,剪映草稿列表始终看不到新草稿的问题。
根因:剪映的目录监听只收录"一次出现就完整"的新目录。此前是边下载边写正式目录,剪映扫描时文件尚未就绪便跳过该目录,之后不会重新索引。
🔧 实现调整
新增草稿暂存与发布模块 draftStaging。
macOS 下载全程写入草稿根目录下的隐藏暂存目录 .capcut-mate-staging/草稿ID。
全部文件就绪后,以同文件系统内的原子改名发布到正式草稿目录,剪映第一次看到的就是完整目录。
draft_meta_info.json 中的草稿路径直接写正式目录,避免剪映把草稿索引到隐藏的暂存路径。
移除 macOS 上无效的 rsync 触发扫描;该操作还会把整个草稿额外复制一份,浪费磁盘与时间。
发布后仍通过 root_meta_info.json 轮询确认剪映已收录,并保留对应日志。
🖥️ 平台兼容
Windows 行为完全不变:继续直接写入正式目录,沿用已验证可用的 robocopy 触发扫描流程。
暂存发布机制仅在 macOS 启用,避免 Windows 上目录改名被剪映、资源管理器或杀毒软件占用句柄等风险。
目录扫描触发函数收敛为 Windows 专用,macOS 的 rsync 分支删除。
⚠️
行为变化(仅 macOS)
下载不完整时不发布草稿:暂存目录保留,重新下载会续传补齐后再发布,避免剪映收录半成品。
下载不完整时日志会提示暂存位置;剪映未运行时的发现确认提示同步优化。
✅ 质量与测试
新增 4 个单元测试,覆盖首次发布、覆盖已有草稿、发布失败回滚等场景。
nodeapi 全部 52 个测试通过。
📦 升级提示
旧版本直接写在正式目录且未被剪映收录的半成品草稿,升级后首次重新下载会完整下载一次,随后以原子改名发布。
You can’t perform that action at this time.