From 364cca6730a95dfbd0e1484c7c2f8d4f313c96ce Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 19 Feb 2023 21:35:49 -0800 Subject: [PATCH] update README with latest macos building instructions --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 47b86c480..9d69fe618 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ normal operation of the terminal (by as much as 100x). If you are building a terminal for day to day usage, build a release version: ```shell-session -$ zig build -Drelease-fast +$ zig build -Doptimize=ReleaseFast ... ``` @@ -149,8 +149,15 @@ than 5 MB on all platforms. The debug version is around 70MB. ### Mac `.app` -When targeting macOS, a macOS application bundle will be created at -`zig-out/Ghostty.app`. This can be copied as-is and used like a normal app. +To build the official, fully featured macOS application, you must +build on a macOS machine with XCode installed: + +```shell-session +$ zig build -Doptimize=ReleaseFast +$ cd macos && xcodebuild +``` + +This will output the app to `macos/build/Release/Ghostty.app`. This app will be not be signed or notarized. Note that [official continuous builds are available](https://github.com/mitchellh/ghostty/releases/tag/tip) that are both signed and notarized.