Skip to content

Commit

Permalink
Merge pull request #9 from Baio1977/master
Browse files Browse the repository at this point in the history
Updates from Baio1977
  • Loading branch information
benbaker76 authored Jun 23, 2024
2 parents da91691 + 292618c commit 9d052b7
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 5 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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@v4
- name: Xcodebuild Debug
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: PinConfigurator.xcodeproj
scheme: PinConfigurator
destination: platform=macOS
configuration: Debug
build-settings: -target PinConfigurator
arch: x86_64
action: build
- name: Xcodebuild Release
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: PinConfigurator.xcodeproj
destination: platform=macOS
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
8 changes: 4 additions & 4 deletions PinConfigurator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -366,15 +366,15 @@
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 = (
"$(inherited)",
"@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)";
};
Expand All @@ -390,15 +390,15 @@
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 = (
"$(inherited)",
"@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)";
};
Expand Down
56 changes: 56 additions & 0 deletions Resources/Audio/Codecs.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
<key>Name</key>
<string>Cirrus Logic CS4213</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902485</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC215</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902497</integer>
Expand All @@ -42,6 +50,14 @@
<key>Name</key>
<string>Realtek ALC221</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902498</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC222</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902501</integer>
Expand Down Expand Up @@ -82,6 +98,14 @@
<key>Name</key>
<string>Realtek ALC236</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902533</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC245</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902549</integer>
Expand Down Expand Up @@ -266,6 +290,14 @@
<key>Name</key>
<string>Realtek ALC286</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902599</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC287</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902600</integer>
Expand All @@ -274,6 +306,14 @@
<key>Name</key>
<string>Realtek ALC288</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902601</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC289</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283902608</integer>
Expand Down Expand Up @@ -330,6 +370,14 @@
<key>Name</key>
<string>Realtek ALC299</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283903523</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC623</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283903584</integer>
Expand Down Expand Up @@ -402,6 +450,14 @@
<key>Name</key>
<string>Realtek ALC680</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283903744</integer>
<key>RevisionID</key>
<integer>0</integer>
<key>Name</key>
<string>Realtek ALC700</string>
</dict>
<dict>
<key>DeviceID</key>
<integer>283904097</integer>
Expand Down
16 changes: 15 additions & 1 deletion Resources/Audio/Controllers.plist
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,21 @@
<string>Intel 200 Series HD Audio Controller</string>
<key>8086A348</key>
<string>Intel 300 Series HD Audio Controller</string>
<key>80860A0C</key>
<key>8086A3F0</key>
<string>Intel 400 Series HD Audio Controller</string>
<key>8086F1C8</key>
<string>Intel 400 Series HD Audio Controller</string>
<key>8086F0C8</key>
<string>Intel 500 Series HD Audio Controller</string>
<key>808643C8</key>
<string>Intel 500 Series HD Audio Controller</string>
<key>80867AD0</key>
<string>Intel 600 Series HD Audio Controller</string>
<key>808651C8</key>
<string>Alder Lake PCH-P High Definition Audio Controller</string>
<key>80867A50</key>
<string>Intel 700 Series HD Audio Controller</string>
<key>80860A0C</key>
<string>Intel Haswell HD Audio Controller</string>
<key>80860C0C</key>
<string>Intel Ivy Bridge/Haswell HD Audio Controller</string>
Expand Down
2 changes: 2 additions & 0 deletions Resources/Audio/Vendors.plist
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>AMD</key>
<integer>4098</integer>
<key>AMDZEN</key>
<integer>4130</integer>
<key>AnalogDevices</key>
<integer>4564</integer>
<key>CirrusLogic</key>
Expand Down

0 comments on commit 9d052b7

Please sign in to comment.