Skip to content

Commit 9364ec6

Browse files
committed
fix: build on macos-latest
1 parent aaba27b commit 9364ec6

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,7 @@ jobs:
168168
# ── PyInstaller ───────────────────────────────────────────────────────
169169
- name: Build with PyInstaller
170170
shell: bash
171-
run: |
172-
if [ "$RUNNER_OS" = "macOS" ]; then
173-
pyinstaller OpenScenarioDrive.spec --noconfirm --target-arch universal2
174-
else
175-
pyinstaller OpenScenarioDrive.spec --noconfirm
176-
fi
171+
run: pyinstaller OpenScenarioDrive.spec --noconfirm
177172

178173
# ── Linux - AppImage ──────────────────────────────────────────────────
179174
- name: Install xcb runtime libs (Linux)

OpenScenarioDrive.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,5 @@ if sys.platform == "darwin":
151151
"CFBundleShortVersionString": "1.0.0",
152152
"CFBundleName": "OpenScenarioDrive",
153153
},
154+
target_arch="universal2",
154155
)

0 commit comments

Comments
 (0)