Download for Mac | Website | Latest Release
Code Awake lives in the macOS menu bar and gives you one focused control for keeping your Mac awake. It is built for long-running downloads, remote access, builds, phone-based workflows, and any moment where the Mac should stay available without opening a full preferences app.
The app uses public Apple power-management APIs and Sparkle for direct-distribution updates.
| Feature | Details |
|---|---|
| Keep Mac Awake | Prevents idle system sleep while allowing display sleep to follow the user's macOS settings. |
| Closed Lid Workflows | Best-effort support when macOS allows closed-lid wake behavior, such as supported clamshell conditions. |
| Auto Turn Off | Optional timer for turning awake mode off automatically. |
| Launch at Login | Starts Code Awake with macOS so the menu bar control is ready. |
| Sparkle Updates | Built-in update checks through a signed Sparkle appcast. |
- Download the latest DMG from the release page.
- Drag
Code Awake.appintoApplications. - Launch Code Awake.
- Use the menu bar cup icon to turn awake mode on or off.
Code Awake is distributed outside the Mac App Store with Developer ID signing and Apple notarization.
Release assets are published through GitHub Releases:
- DMG:
Code-Awake-1.0.3.dmg - Sparkle feed:
appcast.xml
The current Sparkle feed URL is:
https://github.com/artemsvit/Code-Awake/releases/latest/download/appcast.xml
xcodebuild -project "Code Awake.xcodeproj" -scheme "Code Awake" -configuration Debug buildFor signed release packaging, keep signing values in your local shell or a private .env file. The release script loads .env automatically when it exists. Do not commit Apple certificates, App Store Connect keys, notary profiles, keychains, or personal signing IDs.
export CODE_AWAKE_TEAM_ID="YOURTEAMID"
export CODE_AWAKE_CERT_SIGN_IDENTITY="Developer ID Application: Your Name (YOURTEAMID)"
export CODE_AWAKE_NOTARY_PROFILE="YourNotaryProfile"
export CODE_AWAKE_SPARKLE_ACCOUNT="CodeAwake"Then run:
./scripts/build_release_dmg.sh
./scripts/publish_github_release.shThe release script builds the app, signs Sparkle helpers, creates the DMG, submits it for notarization, staples the ticket, generates the Sparkle appcast, and prepares GitHub Release assets. The script intentionally reads private signing details from environment variables instead of storing them in the repository.
- macOS 13.5 or later
- Xcode 26.5 or compatible local toolchain for development
- Developer ID certificate and configured
notarytoolprofile for release packaging
This repository is intended to be safe for public open-source use. The tracked source may include public app metadata such as website URLs, bundle identifiers, Sparkle public keys, and release links, but it should not include private credentials.
Keep these files and values local only:
- Apple Developer certificates,
.p12,.cer,.p8, provisioning profiles, and keychains notarytoolcredentials or keychain profile secrets- GitHub tokens, API keys, passwords, and local
.envfiles - Local signing overrides such as
Config/LocalSigning.xcconfig
Before publishing changes, run:
git status --short
git grep -n -I -E 'PRIVATE KEY|api[_-]?key|secret|token|password|keychain|notary|TEAM_ID|CERT'For support, updates, and release downloads, visit:
https://codeawake.artsvit.com
