From d34d41b9d73ffc7a2a0e7611f38123b9d1f41e9a Mon Sep 17 00:00:00 2001 From: Nirut Khemasakchai Date: Thu, 30 Jul 2026 17:50:04 +0700 Subject: [PATCH] add step to make sure application is executable Updated installation instructions for CapsLockSwitcher. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa96664..93beb6b 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,9 @@ CapsLockSwitcher solves these problems by providing a dedicated, fast, and targe 1. Go to the [**Releases**](https://github.com/doasync/CapsLockSwitcher/releases) page of this repository. 2. Download the latest `.app` file. 3. Copy `CapsLockSwitcher.app` to your `/Applications` folder. -4. Launch `CapsLockSwitcher` from your Applications folder. -5. Run `xattr -cr /Applications/CapsLockSwitcher.app` in the terminal +4. Run `chmod +x /Applications/CapsLockSwitcher.app/Contents/MacOS/CapsLockSwitcher` to make sure application is executable. +5. Launch `CapsLockSwitcher` from your Applications folder. +6. Run `xattr -cr /Applications/CapsLockSwitcher.app` in the terminal `xattr -cr /Applications/CapsLockSwitcher.app` removes extended attributes recursively (`-r`) and clears code signing attributes (`-c`) from the `CapsLockSwitcher.app` application. It's essentially stripping away the "downloaded from the internet" flags that macOS Gatekeeper uses to restrict the app's execution.