From d314e9c09af4b2fac081bf85153d6ca66fa2eb88 Mon Sep 17 00:00:00 2001 From: ExPikaPaka Date: Thu, 4 Jun 2026 14:22:04 +0200 Subject: [PATCH] Fix build for Mac --- .github/workflows/build_orca.yml | 4 +++- scripts/flatpak/com.orcaslicer.OrcaSlicer.yml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index 5893895afe..fa469500e5 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -61,6 +61,8 @@ jobs: run: | if [ "$(uname)" = "Linux" ]; then pip3 install grpcio-tools + else + brew install protobuf fi python3 tools/run_codegen.py if: runner.os != 'Windows' @@ -114,7 +116,7 @@ jobs: if: runner.os == 'macOS' && !inputs.macos-combine-only run: | if [ -z "${{ vars.SELF_HOSTED }}" ]; then - brew install libtool protobuf + brew install libtool brew list fi mkdir -p ${{ github.workspace }}/deps/build/${{ inputs.arch }} diff --git a/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml b/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml index 8c1f734e1c..287381c459 100644 --- a/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml +++ b/scripts/flatpak/com.orcaslicer.OrcaSlicer.yml @@ -326,6 +326,8 @@ modules: - name: OrcaSlicer buildsystem: simple build-commands: + - pip3 install grpcio-tools -q + - python3 tools/run_codegen.py - | cmake . -B build_flatpak \ -DFLATPAK=ON \ @@ -375,6 +377,9 @@ modules: - type: dir path: ../../localization dest: localization + - type: dir + path: ../../tools + dest: tools - type: file path: ../../CMakeLists.txt