From a14c3fcffc30c696771c28861b96d3b128957811 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 6 Feb 2023 20:53:27 -0800 Subject: [PATCH] Install libiodbc and postgres --- .github/workflows/build.yml | 9 +++++++++ RELEASE.md | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 713e2644..02574494 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -187,6 +187,15 @@ jobs: ./scripts/build-pt-meek.sh fi + - name: Install cx_Freeze/PySide6 build dependencies + run: | + brew install libiodbc + cd ~/Downloads + curl -O -L https://github.com/PostgresApp/PostgresApp/releases/download/v2.5.12/Postgres-2.5.12-14.dmg + hdiutil attach Postgres-2.5.12-14.dmg + cp -r /Volumes/Postgres-2.5.12-14/Postgres.app /Applications/ + hdiutil detach /Volumes/Postgres-2.5.12-14 + - name: Build OnionShare run: | cd desktop diff --git a/RELEASE.md b/RELEASE.md index d8be92eb..e0c3921f 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -155,9 +155,10 @@ In order to make a universal2 binary, you must run this one a Mac with Apple Sil Set up the VM like this: - Install [Homebrew](https://brew.sh/) -- `brew install create-dmg` +- `brew install create-dmg libiodbc` - Install the latest Python 3.10 from https://www.python.org/downloads/ - Install ARM64 version of Go from https://go.dev/dl/ +- Install "Postgres.app with PostgreSQL 14 (Universal)" from https://postgresapp.com/downloads.html (required for cx_Freeze build step) ```sh cd desktop