mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 10:39:32 +01:00
Keep This Mac Awake lives in the app and ends when the app quits, and closing the main window quit the app. So with a mode on, the red button (or Cmd+W) followed by closing the lid let the MacBook sleep: the lid request file was cleared and the helper released disablesleep at its next run. While a mode is on, closing the main window now hides the app the way Cmd+H does (hide_application), so full screen and pop-outs come back as they were on a click on the Dock icon. Cmd+Q and Quit from the Dock still end it, through LoopDestroyed as before. With keep-awake off, closing the window quits as it always did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>