From 2920cc2432b6e22b754dbf11349629070ca77aef Mon Sep 17 00:00:00 2001 From: Baio77 <59058746+Baio1977@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:33:10 +0200 Subject: [PATCH 1/9] Create main.yml --- .github/workflows/main.yml | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a5cfca1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,68 @@ +name: CI + +on: + push: + pull_request: + workflow_dispatch: + release: + types: [published] + +jobs: + build: + name: Build + runs-on: macos-latest + env: + JOB_TYPE: BUILD + steps: + - uses: actions/checkout@v3 + - name: Xcodebuild Debug + uses: sersoft-gmbh/xcodebuild-action@v4 + with: + project: PinConfigurator.xcodeproj + # scheme: # optional + # destination: # optional + configuration: Debug + #build-settings: -target PinConfigurator + arch: x86_64 + action: build + - name: Xcodebuild Release + uses: sersoft-gmbh/xcodebuild-action@v4 + with: + project: PinConfigurator.xcodeproj + # destination: # optional + configuration: Release + #build-settings: -target PinConfigurator + arch: x86_64 + action: build + - name: Prepare release image + run: | + mkdir build/Release-App + mv build/Release/PinConfigurator.app build/Release-App/ + - name: Prepare debug image + run: | + mkdir build/Debug-App + mv build/Debug/PinConfigurator.app build/Debug-App/ + - name: Create DMG image + run: | + brew install create-dmg + export VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" build/Release-App/PinConfigurator.app/Contents/Info.plist) + echo $VERSION + create-dmg --no-internet-enable --sandbox-safe --window-size 450 450 build/PinConfigurator-${VERSION}-Debug.dmg build/Debug-App/ + create-dmg --no-internet-enable --sandbox-safe --window-size 450 450 build/PinConfigurator-${VERSION}-Release.dmg build/Release-App/ + - name: Upload app + uses: actions/upload-artifact@v4 + with: + path: build/*.dmg + #- name: Upload to Artifacts + # uses: actions/upload-artifact@v4 + # with: + # name: Artifacts + # path: build/*/*.zip + - name: Upload to Release + if: github.event_name == 'release' + uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: build/*.dmg + tag: ${{ github.ref }} + file_glob: true From 2306946935069e8f284741e617747d4da6a08910 Mon Sep 17 00:00:00 2001 From: Baio77 <59058746+Baio1977@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:35:06 +0200 Subject: [PATCH 2/9] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5cfca1..07973a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Xcodebuild Debug - uses: sersoft-gmbh/xcodebuild-action@v4 + uses: sersoft-gmbh/xcodebuild-action@v3 with: project: PinConfigurator.xcodeproj # scheme: # optional @@ -26,7 +26,7 @@ jobs: arch: x86_64 action: build - name: Xcodebuild Release - uses: sersoft-gmbh/xcodebuild-action@v4 + uses: sersoft-gmbh/xcodebuild-action@v3 with: project: PinConfigurator.xcodeproj # destination: # optional @@ -50,11 +50,11 @@ jobs: create-dmg --no-internet-enable --sandbox-safe --window-size 450 450 build/PinConfigurator-${VERSION}-Debug.dmg build/Debug-App/ create-dmg --no-internet-enable --sandbox-safe --window-size 450 450 build/PinConfigurator-${VERSION}-Release.dmg build/Release-App/ - name: Upload app - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: path: build/*.dmg #- name: Upload to Artifacts - # uses: actions/upload-artifact@v4 + # uses: actions/upload-artifact@v3 # with: # name: Artifacts # path: build/*/*.zip From 2c920319071d0a57210667255f7a812a5a0fcb01 Mon Sep 17 00:00:00 2001 From: Baio77 <59058746+Baio1977@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:36:55 +0200 Subject: [PATCH 3/9] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 07973a5..95b823e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: env: JOB_TYPE: BUILD steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Xcodebuild Debug uses: sersoft-gmbh/xcodebuild-action@v3 with: @@ -50,11 +50,11 @@ jobs: create-dmg --no-internet-enable --sandbox-safe --window-size 450 450 build/PinConfigurator-${VERSION}-Debug.dmg build/Debug-App/ create-dmg --no-internet-enable --sandbox-safe --window-size 450 450 build/PinConfigurator-${VERSION}-Release.dmg build/Release-App/ - name: Upload app - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: build/*.dmg #- name: Upload to Artifacts - # uses: actions/upload-artifact@v3 + # uses: actions/upload-artifact@v4 # with: # name: Artifacts # path: build/*/*.zip From 5b65e118c7012cd36aae7eb3f5b98b4002bc5563 Mon Sep 17 00:00:00 2001 From: Baio77 <59058746+Baio1977@users.noreply.github.com> Date: Sun, 23 Jun 2024 19:32:03 +0200 Subject: [PATCH 4/9] Version bump --- PinConfigurator.xcodeproj/project.pbxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PinConfigurator.xcodeproj/project.pbxproj b/PinConfigurator.xcodeproj/project.pbxproj index 457b569..875af43 100755 --- a/PinConfigurator.xcodeproj/project.pbxproj +++ b/PinConfigurator.xcodeproj/project.pbxproj @@ -366,7 +366,7 @@ CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 0228; + CURRENT_PROJECT_VERSION = 0229; ENABLE_STRICT_OBJC_MSGSEND = NO; INFOPLIST_FILE = PinConfigurator/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -374,7 +374,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.9; - MARKETING_VERSION = 2.2.8; + MARKETING_VERSION = 2.2.9; PRODUCT_BUNDLE_IDENTIFIER = com.Headsoft.PinConfigurator; PRODUCT_NAME = "$(TARGET_NAME)"; }; @@ -390,7 +390,7 @@ CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 0228; + CURRENT_PROJECT_VERSION = 0229; ENABLE_STRICT_OBJC_MSGSEND = NO; INFOPLIST_FILE = PinConfigurator/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( @@ -398,7 +398,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 10.9; - MARKETING_VERSION = 2.2.8; + MARKETING_VERSION = 2.2.9; PRODUCT_BUNDLE_IDENTIFIER = com.Headsoft.PinConfigurator; PRODUCT_NAME = "$(TARGET_NAME)"; }; From b326b347875fa434732cffd1e231a3e8a36db8b5 Mon Sep 17 00:00:00 2001 From: Baio77 <59058746+Baio1977@users.noreply.github.com> Date: Sun, 23 Jun 2024 19:57:32 +0200 Subject: [PATCH 5/9] Version bump 2.2.9 From 5b3992db0c28576ab421b758b18ab9526db2fe09 Mon Sep 17 00:00:00 2001 From: Baio1977 Date: Sun, 23 Jun 2024 21:33:50 +0200 Subject: [PATCH 6/9] Update Controllers.plist --- Resources/Audio/Codecs.plist | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/Resources/Audio/Codecs.plist b/Resources/Audio/Codecs.plist index 4a8485b..eaa0f3b 100755 --- a/Resources/Audio/Codecs.plist +++ b/Resources/Audio/Codecs.plist @@ -34,6 +34,14 @@ Name Cirrus Logic CS4213 + + DeviceID + 283902485 + RevisionID + 0 + Name + Realtek ALC215 + DeviceID 283902497 @@ -42,6 +50,14 @@ Name Realtek ALC221 + + DeviceID + 283902498 + RevisionID + 0 + Name + Realtek ALC222 + DeviceID 283902501 @@ -82,6 +98,14 @@ Name Realtek ALC236 + + DeviceID + 283902533 + RevisionID + 0 + Name + Realtek ALC245 + DeviceID 283902549 @@ -266,6 +290,14 @@ Name Realtek ALC286 + + DeviceID + 283902599 + RevisionID + 0 + Name + Realtek ALC287 + DeviceID 283902600 @@ -274,6 +306,14 @@ Name Realtek ALC288 + + DeviceID + 283902601 + RevisionID + 0 + Name + Realtek ALC289 + DeviceID 283902608 @@ -330,6 +370,14 @@ Name Realtek ALC299 + + DeviceID + 283903523 + RevisionID + 0 + Name + Realtek ALC623 + DeviceID 283903584 @@ -402,6 +450,14 @@ Name Realtek ALC680 + + DeviceID + 283903744 + RevisionID + 0 + Name + Realtek ALC700 + DeviceID 283904097 From 906def36c3f987486ed5cf726eeec0d601805087 Mon Sep 17 00:00:00 2001 From: Baio1977 Date: Sun, 23 Jun 2024 21:34:11 +0200 Subject: [PATCH 7/9] Update Controllers.plist --- Resources/Audio/Controllers.plist | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Resources/Audio/Controllers.plist b/Resources/Audio/Controllers.plist index 308f13f..4201c32 100755 --- a/Resources/Audio/Controllers.plist +++ b/Resources/Audio/Controllers.plist @@ -50,7 +50,21 @@ Intel 200 Series HD Audio Controller 8086A348 Intel 300 Series HD Audio Controller - 80860A0C + 8086A3F0 + Intel 400 Series HD Audio Controller + 8086F1C8 + Intel 400 Series HD Audio Controller + 8086F0C8 + Intel 500 Series HD Audio Controller + 808643C8 + Intel 500 Series HD Audio Controller + 80867AD0 + Intel 600 Series HD Audio Controller + 808651C8 + Alder Lake PCH-P High Definition Audio Controller + 80867A50 + Intel 700 Series HD Audio Controller + 80860A0C Intel Haswell HD Audio Controller 80860C0C Intel Ivy Bridge/Haswell HD Audio Controller From 841878c171ca5aabf1ef1fde3cfccff7a739431a Mon Sep 17 00:00:00 2001 From: Baio1977 Date: Sun, 23 Jun 2024 21:34:16 +0200 Subject: [PATCH 8/9] Update Vendors.plist --- Resources/Audio/Vendors.plist | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 Resources/Audio/Vendors.plist diff --git a/Resources/Audio/Vendors.plist b/Resources/Audio/Vendors.plist old mode 100755 new mode 100644 index b2810a4..257da40 --- a/Resources/Audio/Vendors.plist +++ b/Resources/Audio/Vendors.plist @@ -4,6 +4,8 @@ AMD 4098 + AMDZEN + 4130 AnalogDevices 4564 CirrusLogic From 292618c964de655acc1ba399fac9fcf924fd0b2d Mon Sep 17 00:00:00 2001 From: Baio77 <59058746+Baio1977@users.noreply.github.com> Date: Sun, 23 Jun 2024 22:48:56 +0200 Subject: [PATCH 9/9] Update main.yml --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 95b823e..817c6ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,19 +19,19 @@ jobs: uses: sersoft-gmbh/xcodebuild-action@v3 with: project: PinConfigurator.xcodeproj - # scheme: # optional - # destination: # optional + scheme: PinConfigurator + destination: platform=macOS configuration: Debug - #build-settings: -target PinConfigurator + build-settings: -target PinConfigurator arch: x86_64 action: build - name: Xcodebuild Release uses: sersoft-gmbh/xcodebuild-action@v3 with: project: PinConfigurator.xcodeproj - # destination: # optional + destination: platform=macOS configuration: Release - #build-settings: -target PinConfigurator + build-settings: -target PinConfigurator arch: x86_64 action: build - name: Prepare release image @@ -53,11 +53,11 @@ jobs: uses: actions/upload-artifact@v4 with: path: build/*.dmg - #- name: Upload to Artifacts - # uses: actions/upload-artifact@v4 - # with: - # name: Artifacts - # path: build/*/*.zip + - name: Upload to Artifacts + uses: actions/upload-artifact@v4 + with: + name: Artifacts + path: build/*/*.zip - name: Upload to Release if: github.event_name == 'release' uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d