Skip to content

Commit 6df0640

Browse files
committed
macos instructions
1 parent 8c8d320 commit 6df0640

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,32 @@ Line-numbered BASIC interpreter inspired by CBM BASIC v2 as found on classic Com
2020

2121
[The latest binaries for Win/Mac/Linux are in ***Releases***](https://github.com/omiq/cbm-basic/releases/)
2222

23+
### macOS Gatekeeper note
24+
25+
On recent macOS versions, downloading a binary from the internet may show a warning such as:
26+
27+
> “Apple could not verify `basic` is free of malware that may harm your Mac or compromise your privacy.”
28+
29+
Because `basic` is an unsigned open‑source binary, this is expected. To run it anyway:
30+
31+
1. **First attempt to open it once** (so Gatekeeper records it):
32+
- In Finder, locate the unpacked `basic` binary.
33+
- Control‑click (or right‑click) and choose **Open**.
34+
- When the warning dialog appears, click **Cancel**.
35+
2. **Allow the app in System Settings**:
36+
- Open **System Settings → Privacy & Security**.
37+
- Scroll down to the **Security** section; you should see a message about `basic` being blocked.
38+
- Click **Open Anyway**, then confirm in the dialog.
39+
3. After this, you should be able to run `./basic` from Terminal without further prompts.
40+
41+
If you prefer using Terminal only, you can also remove the quarantine attribute:
42+
43+
```bash
44+
xattr -d com.apple.quarantine /path/to/basic
45+
```
46+
47+
Run this once after unpacking, and macOS will stop treating the binary as “from the internet”.
48+
2349
## Features
2450

2551
- **Line-numbered programs** loaded from a text file (`10 ...`, `20 ...`, etc.).

0 commit comments

Comments
 (0)