Skip to content

Commit eaa9176

Browse files
committed
Update repo
Thanks @mikebeaton for pointing out the wrong url. closes #389
1 parent a635a79 commit eaa9176

File tree

8 files changed

+118
-52
lines changed

8 files changed

+118
-52
lines changed

.github/ISSUE_TEMPLATE/Bug.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: Bug Report
2+
description: File a bug report
3+
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
10+
- type: dropdown
11+
id: docs
12+
attributes:
13+
label: Have you read the docs?
14+
options:
15+
- 'No'
16+
- 'Yes'
17+
validations:
18+
required: true
19+
20+
- type: input
21+
id: macos-ver
22+
attributes:
23+
label: macOS Version
24+
description: Which version of macOS are you using?
25+
placeholder: macOS 12
26+
validations:
27+
required: true
28+
29+
- type: input
30+
id: kext-ver
31+
attributes:
32+
label: Kext Version
33+
description: Which version of the Kext are you using?
34+
placeholder: v2.2.0
35+
validations:
36+
required: true
37+
38+
- type: input
39+
id: card-model
40+
attributes:
41+
label: Wireless Adapter Model and USB Product ID
42+
description: USB Product ID can be obtained from Hackintool when using macOS versions prior to Monterey or only when Bluetooth is working on macOS Monterey and newer.<br/>When bluetooth is not working on macOS Monterey and newer, the only method to obtain the USB Product ID is through IORegistry.
43+
placeholder: Intel 9560AC (0xAAA)
44+
validations:
45+
required: true
46+
47+
- type: textarea
48+
id: description
49+
attributes:
50+
label: Description
51+
description: A clear and concise description of what the bug is
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: info
57+
attributes:
58+
label: Info in System Report - Bluetooth
59+
description: Copy and paste all contents with sensitive information removed down below<br/>(Text in this field will be automatically formatted into code, so no need for backticks.)
60+
render: shell
61+
validations:
62+
required: true
63+
64+
- type: textarea
65+
id: logs
66+
attributes:
67+
label: Relevant log output
68+
description: Output of `sudo dmesg | grep -i IntelBluetooth` with DebugEnhancer.kext installed.<br/>(Text in this field will be automatically formatted into code, so no need for backticks.)
69+
render: shell
70+
validations:
71+
required: true
72+
73+
- type: textarea
74+
id: panic-logs
75+
attributes:
76+
label: Kernel Panic Logs
77+
description: In case there is a kernel panic, add `keepsyms=1` in boot-args then paste the panic info below<br/>(Text in this field will be automatically formatted into code, so no need for backticks.)
78+
render: shell
79+
validations:
80+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Documentation
4+
url: https://openintelwireless.github.io/IntelBluetoothFirmware/
5+
about: Install guides and FAQ
6+
- name: Gitter Chat Room
7+
url: https://gitter.im/OpenIntelWireless/IntelBluetoothFirmware
8+
about: Community chat room for IntelBluetoothFirmware

.github/README-zh_Hans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ IntelBluetoothFirmware 是一个用于在 macOS 中启用原生蓝牙的固件
2020
- [支持列表](https://openintelwireless.github.io/IntelBluetoothFirmware/Compat.html)
2121
- [安装方法](https://openintelwireless.github.io/IntelBluetoothFirmware/Installation.html)
2222
- [常见疑问](https://openintelwireless.github.io/IntelBluetoothFirmware/FAQ.html)
23-
- [排错方法](https://openintelwireless.github.io/IntelBluetoothFirmware/Compat.html)
23+
- [排错方法](https://openintelwireless.github.io/IntelBluetoothFirmware/Troubleshooting.html)
2424

2525
## 参考资料
2626

.github/workflows/main.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66

@@ -10,12 +10,36 @@ jobs:
1010

1111
steps:
1212

13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
14+
15+
- name: Get Lilu SHA
16+
id: get-lilu-sha
17+
run: |
18+
echo "::set-output name=hash::$(git ls-remote https://github.com/acidanthera/Lilu.git HEAD | awk '{ print $1}')"
19+
20+
- name: Cache Lilu
21+
id: cache-lilu
22+
uses: actions/cache@v3
23+
with:
24+
path: Lilu.kext
25+
key: Lilu-${{ steps.get-lilu-sha.outputs.hash }}
1426

1527
- name: Install MacKernelSDK
1628
run: |
1729
git clone --depth=1 https://github.com/acidanthera/MacKernelSDK.git
1830
31+
- name: Install Lilu SDK
32+
if: steps.cache-lilu.outputs.cache-hit != 'true'
33+
run: |
34+
git clone --depth=1 https://github.com/acidanthera/Lilu.git
35+
cd Lilu || exit 1
36+
ln -s ../MacKernelSDK MacKernelSDK
37+
xcodebuild -configuration Debug -arch x86_64 | xcpretty exit ${PIPESTATUS[0]}
38+
if [ ! -d "build/Debug/Lilu.kext" ]; then
39+
exit 1
40+
fi
41+
cp -R build/Debug/Lilu.kext ../
42+
1943
- name: Debug Build
2044
run: |
2145
xcodebuild -alltargets -configuration Debug | xcpretty && exit ${PIPESTATUS[0]}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ xcshareddata
66
project.xcworkspace
77
FwBinary.cpp
88
MacKernelSDK
9-
zlib_compress_fw.pyc
9+
Lilu.kext
10+
zlib_compress_fw.pyc

IntelBluetoothFirmware.xcodeproj/project.pbxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -577,15 +577,13 @@
577577
17A741EF2677F81B005041A3 /* Debug */ = {
578578
isa = XCBuildConfiguration;
579579
buildSettings = {
580-
CODE_SIGN_STYLE = Automatic;
581580
PRODUCT_NAME = IntelBluetoothFirmware;
582581
};
583582
name = Debug;
584583
};
585584
17A741F02677F81B005041A3 /* Release */ = {
586585
isa = XCBuildConfiguration;
587586
buildSettings = {
588-
CODE_SIGN_STYLE = Automatic;
589587
PRODUCT_NAME = IntelBluetoothFirmware;
590588
};
591589
name = Release;
@@ -746,10 +744,8 @@
746744
F8CD9CDA2798ED5100EDBD8E /* Debug */ = {
747745
isa = XCBuildConfiguration;
748746
buildSettings = {
749-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
750747
CURRENT_PROJECT_VERSION = "$(MODULE_VERSION)";
751748
GCC_PREPROCESSOR_DEFINITIONS = (
752-
"DEBUG=1",
753749
"$(inherited)",
754750
"MODULE_VERSION=$(MODULE_VERSION)",
755751
"PRODUCT_NAME=$(PRODUCT_NAME)",
@@ -764,7 +760,6 @@
764760
MODULE_START = IntelBTPatcher_kern_start;
765761
MODULE_STOP = IntelBTPatcher_kern_stop;
766762
MODULE_VERSION = "$(MODULE_VERSION)";
767-
ONLY_ACTIVE_ARCH = YES;
768763
PRODUCT_BUNDLE_IDENTIFIER = com.zxystd.IntelBTPatcher;
769764
PRODUCT_NAME = "$(TARGET_NAME)";
770765
};
@@ -773,7 +768,6 @@
773768
F8CD9CDB2798ED5100EDBD8E /* Release */ = {
774769
isa = XCBuildConfiguration;
775770
buildSettings = {
776-
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
777771
CURRENT_PROJECT_VERSION = "$(MODULE_VERSION)";
778772
GCC_PREPROCESSOR_DEFINITIONS = (
779773
"MODULE_VERSION=$(MODULE_VERSION)",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ After several months of public testing, it appears that the Kext is working well
2121
- [Supported Devices](https://openintelwireless.github.io/IntelBluetoothFirmware/Compat.html)
2222
- [Installation](https://openintelwireless.github.io/IntelBluetoothFirmware/Installation.html)
2323
- [Frequently Asked Questions](https://openintelwireless.github.io/IntelBluetoothFirmware/FAQ.html)
24-
- [Troubleshooting](https://openintelwireless.github.io/IntelBluetoothFirmware/Compat.html)
24+
- [Troubleshooting](https://openintelwireless.github.io/IntelBluetoothFirmware/Troubleshooting.html)
2525

2626
## Credits
2727

0 commit comments

Comments
 (0)