Skip to content

Commit 02fb9cf

Browse files
committed
chore: update macOS security warning instructions
1 parent 54edd85 commit 02fb9cf

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

INSTALLATION.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,28 @@
66

77
When you first download and run JSON Prettier on macOS, you may see a security warning:
88

9-
> "Apple could not verify JSON Prettier.app is free of malware..."
9+
> "JSON Prettier.app is damaged and can't be opened. You should move it to the Trash."
1010
1111
This is normal for apps that aren't signed with an Apple Developer Certificate. To run the app:
1212

13-
**Method 1: System Settings**
13+
**Method 1: System Settings (may not work on latest macOS)**
1414

1515
1. Go to **System Settings → Privacy & Security**
1616
2. Find "JSON Prettier.app was blocked" message
1717
3. Click **"Open Anyway"**
1818

19-
**Method 2: Right-click**
19+
**Method 2: Terminal (Recommended - works for all versions)**
2020

21-
1. Right-click on the app
22-
2. Select **"Open"**
23-
3. Click **"Open"** in the dialog
21+
1. Open **Terminal**
22+
2. Run the following command (replace path with actual app location):
23+
24+
```bash
25+
sudo xattr -rd com.apple.quarantine "/Applications/JSON Prettier.app"
26+
```
27+
28+
3. Enter your password when prompted
29+
30+
**Note**: For Apple Silicon Macs with arm64 version, Method 2 (Terminal) is currently the only reliable way to run the app.
2431

2532
This only needs to be done once. After that, the app will run normally.
2633

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@
6060
<br>
6161
<strong>Linux</strong>
6262
<br>
63-
<a href="https://github.com/rebase/json-prettier/releases/latest/download/json-prettier_0.1.1_amd64.AppImage">AppImage (amd64)</a>
63+
<a href="https://github.com/rebase/json-prettier/releases/latest/download/JSON.Prettier_0.1.1_amd64.AppImage">AppImage (amd64)</a>
6464
<br>
65-
<a href="https://github.com/rebase/json-prettier/releases/latest/download/json-prettier_0.1.1_amd64.deb">Debian Package (.deb, amd64)</a>
65+
<a href="https://github.com/rebase/json-prettier/releases/latest/download/JSON.Prettier_0.1.1_amd64.deb">Debian Package (.deb, amd64)</a>
6666
<br>
6767
<a href="https://github.com/rebase/json-prettier/releases/latest/download/JSON.Prettier-0.1.1-1.x86_64.rpm">RPM Package (x86_64)</a>
6868
</td>
6969
</tr>
7070
</table>
7171
</div>
7272

73-
> **macOS Users**: You may see an "untrusted developer" warning on first launch.
74-
> Right-click the app and select "Open" to bypass this. See our [Installation Guide](INSTALLATION.md) for details.
73+
> **macOS Users**: You may see security warnings like "untrusted developer" or "app is damaged" on first launch.
74+
> Try right-clicking the app and selecting "Open" first. If that doesn't work, see our [Installation Guide](INSTALLATION.md) for the terminal solution.
7575
7676
---
7777

0 commit comments

Comments
 (0)