feat: 增加 Windows 定时关机功能 - #482
Merged
Merged
Conversation
Contributor
Author
|
单纯个人使用中 有时候会用到这个功能 但是没有 自己添加的一个小功能 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
功能说明
本 PR 为 StreamCap 的 Windows 桌面端增加定时关机功能,适合长时间录制、无人值守监控或挂机任务完成后自动关闭电脑,减少用户等待和不必要的设备运行时间。
修改内容
shutdown /a取消,并在取消后恢复每日定时任务。使用方式
安全性设计
验证
python -m compileall -q app main.pygit diff --check按照维护者要求,本 PR 未提交
tests/文件夹、.idea文件夹或其他无关文件。