Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Feature request: Prevent Mac from sleeping while Imagr app is running a workflow #199

Open
homebysix opened this issue Dec 7, 2017 · 1 comment

Comments

@homebysix
Copy link

It would be desirable for Imagr to prevent a Mac from entering sleep while a workflow is running.

For example: Munki uses this module to prevent idle sleep during some operations.

I'd like to contribute a PR, but I'll leave this issue open as a bookmark in case others want to tackle it first.

@homebysix
Copy link
Author

Some follow-up: It looks like powermgr is already imported, and all that's necessary is to create a Caffeinator object, like this. I may be able to tackle this after all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants