[PR #1037] [MERGED] Fix build scripts for m1 mac #1235

Closed
opened 2026-05-05 07:08:41 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MonitorControl/MonitorControl/pull/1037
Author: @the0neyouseek
Created: 5/17/2022
Status: Merged
Merged: 5/17/2022
Merged by: @the0neyouseek

Base: mainHead: bug/build-scripts


📝 Commits (2)

  • 4e2e063 🔧 Fix build scripts for m1 mac
  • 7fe7770 🔧 Swiftlint/Swiftformat corrections

📊 Changes

9 files changed (+23 additions, -23 deletions)

View changed files

📝 MonitorControl.xcodeproj/project.pbxproj (+3 -3)
📝 MonitorControl/Support/Arm64DDC.swift (+6 -6)
📝 MonitorControl/Support/DisplayManager.swift (+7 -7)
📝 MonitorControl/Support/IntelDDC.swift (+1 -1)
📝 MonitorControl/Support/KeyboardShortcutsManager.swift (+1 -1)
📝 MonitorControl/Support/MediaKeyTapManager.swift (+1 -1)
📝 MonitorControl/Support/SliderHandler.swift (+2 -2)
📝 MonitorControl/View Controllers/Preferences/DisplaysPrefsCellView.swift (+1 -1)
📝 MonitorControl/main.swift (+1 -1)

📄 Description

I added export PATH="$PATH:/opt/homebrew/bin" to the build scripts (swiftformat, bartycrouch & swiftlint) for them to work on m1 macs (and homebrew).

I also pushed the automatic changes made by swiftformat.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MonitorControl/MonitorControl/pull/1037 **Author:** [@the0neyouseek](https://github.com/the0neyouseek) **Created:** 5/17/2022 **Status:** ✅ Merged **Merged:** 5/17/2022 **Merged by:** [@the0neyouseek](https://github.com/the0neyouseek) **Base:** `main` ← **Head:** `bug/build-scripts` --- ### 📝 Commits (2) - [`4e2e063`](https://github.com/MonitorControl/MonitorControl/commit/4e2e0636772553f9ce36feff94f6149d9c895c27) :wrench: Fix build scripts for m1 mac - [`7fe7770`](https://github.com/MonitorControl/MonitorControl/commit/7fe7770e7f2557195479fa016cca3b53bede1911) :wrench: Swiftlint/Swiftformat corrections ### 📊 Changes **9 files changed** (+23 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `MonitorControl.xcodeproj/project.pbxproj` (+3 -3) 📝 `MonitorControl/Support/Arm64DDC.swift` (+6 -6) 📝 `MonitorControl/Support/DisplayManager.swift` (+7 -7) 📝 `MonitorControl/Support/IntelDDC.swift` (+1 -1) 📝 `MonitorControl/Support/KeyboardShortcutsManager.swift` (+1 -1) 📝 `MonitorControl/Support/MediaKeyTapManager.swift` (+1 -1) 📝 `MonitorControl/Support/SliderHandler.swift` (+2 -2) 📝 `MonitorControl/View Controllers/Preferences/DisplaysPrefsCellView.swift` (+1 -1) 📝 `MonitorControl/main.swift` (+1 -1) </details> ### 📄 Description I added `export PATH="$PATH:/opt/homebrew/bin"` to the build scripts (`swiftformat`, `bartycrouch` & `swiftlint`) for them to work on m1 macs (and homebrew). I also pushed the automatic changes made by `swiftformat`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 07:08:41 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#1235
No description provided.