-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep monitor on setting + bug fix #5
base: master
Are you sure you want to change the base?
Conversation
mosoto
commented
Aug 29, 2015
- I added a setting so you can choose whether you want caffeinated to keep just the system awake or whether you care about keeping the monitor awake too
- There was a bug in using "Stay awake for" in the conext menu. If you use it multiple times it overwrites the oldState that is used to deactivate caffeine. Thus you can never again deactivate it without exiting the program.
…e original state thus preventing caffeine from ever being disabled except by exiting the program
NativeMethods.ES_SYSTEM_REQUIRED; | ||
|
||
if (Settings.Default.KeepMonitorOn) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Please follow the existing style that has no newline before braces
Would it be possible to get a build of the new version? |
I maked a build of the new version with good changes made by the mosoto. Download attached file. |
I know this is very old, but after using caffeinated on all my computers for years, it does not work on my new Acer Predator gaming laptop. I came accross this GitHub with the above Caffeinated 1.1, downloaded, and was going to try it out to see if it will work where the 1.0 does not. When trying to run it, Windows Defender prevents it from running, saying it is a "risk". Should I be fine to run it anyway? I downloaded it directly from the "Caffeinated-1.1.zip" file above...not sure why this doesn't run, but original does. Sorry if the answer is super obvious, I'm not a coder and only created this GitHub account to ask this question. |
I'm sorry if I broke GitHub etiquette by posting this type of comment here. I just want to post that this version worked for me! I went ahead and ignored the Windows Defender warning and ran the exe anyway, and finally after weeks of frustration I have a working version of caffeinated. Hope this helps anyone else who ends up here with the same issue I was having. And thanks to both the original creator and the person responsible for this fix. |