From f421cf4842db93975f97982fbac9219d6e3ab4c0 Mon Sep 17 00:00:00 2001 From: Darius Foo Date: Mon, 9 Jan 2023 19:25:03 +0800 Subject: [PATCH 1/2] Fix macOS build --- app/gui/qt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gui/qt/CMakeLists.txt b/app/gui/qt/CMakeLists.txt index fca039fee3..6e215470b6 100644 --- a/app/gui/qt/CMakeLists.txt +++ b/app/gui/qt/CMakeLists.txt @@ -275,7 +275,7 @@ if (APPLE) add_custom_command( TARGET ${APP_NAME} POST_BUILD - COMMAND plutil -replace NSHighResolutionCapable -bool true ${MACOS_APP_NAME}.app/Contents/Info.plist + COMMAND chmod +w ${MACOS_APP_NAME}.app/Contents/Info.plist && plutil -replace NSHighResolutionCapable -bool true ${MACOS_APP_NAME}.app/Contents/Info.plist ) endif() From 4cc34291d476f7f7164a2bdce0899f86acae534a Mon Sep 17 00:00:00 2001 From: Darius Foo Date: Mon, 9 Jan 2023 23:04:05 +0800 Subject: [PATCH 2/2] Update docs --- BUILD-MAC.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD-MAC.md b/BUILD-MAC.md index 76e3addc91..46691188aa 100644 --- a/BUILD-MAC.md +++ b/BUILD-MAC.md @@ -93,10 +93,10 @@ git clone https://github.com/sonic-pi-net/sonic-pi.git ~/Development/sonic-pi ``` If you don't have Git installed you should be able to download a `.zip` -file of the latest commit or specific release (v3.3+) you'd like to +file of the latest commit or specific release you'd like to build: -https://github.com/sonic-pi-net/sonic-pi/archive/main.zip +https://github.com/sonic-pi-net/sonic-pi/archive/refs/heads/stable.zip From now on these instructions will assume you downloaded the source into `~/Development/sonic-pi`. If you used a different location be sure to @@ -138,7 +138,7 @@ Finally, you can run your newly compiled `Sonic Pi` app within the new `build` directly either by double clicking it in the Finder or via the terminal: ``` -./build/Sonic\ Pi.app/Contents/MacOS/Sonic\ Pi +./build/gui/qt/Sonic\ Pi.app/Contents/MacOS/Sonic\ Pi ```