Skip to content

🍎 macOS Shut Down, Restart, Sleep and Log Out App

License

Notifications You must be signed in to change notification settings

Cyclenerd/macos-missing-shutdown-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

System Control App for macOS

Badge: Apple Badge: Xcode Badge: Swift

A simple, elegant macOS utility to control system power functions like shutdown, restart, sleep and log out with keyboard shortcuts.

Screenshot

Shutdown.app is a lightweight utility that provides quick access to common system power functions. With simple keyboard shortcuts and an intuitive interface, you can sleep, restart, shut down, or log out of your Mac with a single keystroke.

The app is designed to be minimal, fast, and keyboard-friendly. It uses native macOS UI components for a seamless experience that integrates perfectly with your system.

Features

  • Sleep your Mac 😴 with ⌘ + Z
  • Restart your Mac with ⌘ + R
  • Shut Down your Mac with ⌘ + S
  • Log Out of your account with ⌘ + L
  • Clean, native macOS interface
  • Full keyboard navigation support
  • Color-coded buttons for easy identification

Requirements

  • macOS 14.6 (Sonoma) or later
  • 1MB of free disk space

Installation

  1. Download the latest release
  2. Extract the ZIP file and drag the app to your Applications folder
  3. Launch the app from Launchpad or Applications folder
  4. (Optional) Allow unsigned app on macOS
    • Go to System Settings
    • Click on Privacy & Security
    • Scroll down to Security section
    • Look for a message about the blocked Shutdown.app app and click "Open Anyway"

Tip: Use Spotlight Search and type Shutdown to sleep, restart, shut down, or log out of your Mac.

Usage

  1. Launch the app
  2. Select an action using your mouse or keyboard (tab, ←, ↑, β†’, ↓)
  3. Press Enter to confirm, or use the keyboard shortcuts:
    • ⌘ + Z for Sleep πŸ’€
    • ⌘ + R for Restart
    • ⌘ + S for Shut Down
    • ⌘ + L for Log Out
    • Escape to cancel

Permissions

When first launched, the app may request accessibility permissions to control system functions. These permissions are required for the app to function properly.

Building from Source

Prerequisites:

  • Xcode 16.2 or later

Steps:

Clone the repository:

git clone https://github.com/Cyclenerd/macos-missing-shutdown-app.git

Open the project in Xcode:

cd macos-missing-shutdown-app
open Shutdown.xcodeproj

Build the project:

Select Product > Build from the menu or use the keyboard shortcut ⌘ + B

Or build the project via CLI:

sudo xcode-select --switch "/Applications/Xcode.app"
xcodebuild -version
xcodebuild clean build -scheme "Shutdown" -destination "platform=macOS" CODE_SIGN_IDENTITY=""
xcodebuild archive -scheme "Shutdown" -destination "platform=macOS" -archivePath ./build/Shutdown.xcarchive CODE_SIGN_IDENTITY=""

Code Structure

The app is built with SwiftUI and consists of two main files:

  • ShutdownApp.swift: Contains the app entry point, system control logic, and models
  • ContentView.swift: Contains the user interface implementation

License

Apache License Version 2.0