deng-xian-sheng / mac- Goto Github PK
View Code? Open in Web Editor NEWmac系统上,百度网盘在进行下载任务时电脑自动睡眠会导致下载被中断,而长期不自动睡眠对于MacBook来说很不友好;这个程序的设计初衷是为解决这个问题。
License: GNU General Public License v3.0
mac系统上,百度网盘在进行下载任务时电脑自动睡眠会导致下载被中断,而长期不自动睡眠对于MacBook来说很不友好;这个程序的设计初衷是为解决这个问题。
License: GNU General Public License v3.0
在install脚本执行到
echo $PasswdValueRead | sudo -S launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
有几率报错:
/Users/wendy/Library/LaunchAgents/BaiduCloudGuardian.plist: Path had bad ownership/permissions
如果上一个报错未发生,或者手动使用命令:
sudo launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
修复之后,在:
/Users/用户名/BaiduCloudGuardian/Logs
可能有这样的报错
/bin/sh: ./PmsetCheck: No such file or directory
Traceback (most recent call last):
File "/Users/wendy/BaiduCloudGuardian/PythonMain", line 19, in <module>
BatterySleepList = PmsetValueList[0]
IndexError: list index out of range
这个问题困扰很久了,这些shell脚本和python程序在终端里执行没问题,但launchd调用他们时却出错。
无力解决,抱歉
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.