Git Product home page Git Product logo

mac-'s Introduction

mac-Baidu-cloud-The-power-to-protect

mac系统上,百度网盘在进行下载任务时电脑自动睡眠会导致下载被中断,而长期不自动睡眠对于MacBook来说很不友好;这个程序的设计初衷是为解决这个问题。

mac-'s People

Contributors

deng-xian-sheng avatar

Watchers

 avatar

mac-'s Issues

目前的bug

在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调用他们时却出错。
无力解决,抱歉

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.