Skip to content

Commit

Permalink
Add BT timeout. Update data files
Browse files Browse the repository at this point in the history
  • Loading branch information
benbaker76 committed May 20, 2023
1 parent 1456d94 commit 149fdfb
Show file tree
Hide file tree
Showing 7 changed files with 1,316 additions and 533 deletions.
10 changes: 5 additions & 5 deletions Hackintool.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
TargetAttributes = {
E24936F9169D1B2B00384895 = {
DevelopmentTeam = 5LGHPJM9ZR;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.Sandbox = {
enabled = 0;
Expand Down Expand Up @@ -721,7 +721,7 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 0394;
CURRENT_PROJECT_VERSION = 0395;
DEVELOPMENT_TEAM = 5LGHPJM9ZR;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_STRICT_OBJC_MSGSEND = NO;
Expand All @@ -736,7 +736,7 @@
INFOPLIST_FILE = "Hackintool/Hackintool-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.9.4;
MARKETING_VERSION = 3.9.5;
PRODUCT_BUNDLE_IDENTIFIER = com.Headsoft.Hackintool;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -757,7 +757,7 @@
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO;
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 0394;
CURRENT_PROJECT_VERSION = 0395;
DEVELOPMENT_TEAM = 5LGHPJM9ZR;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_STRICT_OBJC_MSGSEND = NO;
Expand All @@ -772,7 +772,7 @@
INFOPLIST_FILE = "Hackintool/Hackintool-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 3.9.4;
MARKETING_VERSION = 3.9.5;
PRODUCT_BUNDLE_IDENTIFIER = com.Headsoft.Hackintool;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
2 changes: 1 addition & 1 deletion Hackintool/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,7 @@ - (BOOL)getNativeBluetoothDeviceInfo:(NSMutableDictionary *)bluetoothDeviceDicti
NSError *error = nil;
NSString *stdoutString = nil;

if (!launchCommand(@"/usr/sbin/system_profiler", @[@"SPBluetoothDataType", @"-xml"], &stdoutString))
if (!launchCommand(@"/usr/sbin/system_profiler", @[@"SPBluetoothDataType", @"-xml", @"-timeout", @"1"], &stdoutString))
return NO;

NSArray *bluetoothArray = [NSPropertyListSerialization propertyListWithData:[stdoutString dataUsingEncoding:NSUTF8StringEncoding] options:kNilOptions format:nil error:&error];
Expand Down
22 changes: 21 additions & 1 deletion Resources/Audio/Codecs.plist
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<key>LayoutIDs</key>
<array>
<integer>15</integer>
<integer>21</integer>
</array>
<key>MaxKernel</key>
<integer>13</integer>
Expand All @@ -53,6 +54,7 @@
<integer>15</integer>
<integer>16</integer>
<integer>17</integer>
<integer>20</integer>
<integer>21</integer>
<integer>27</integer>
<integer>28</integer>
Expand All @@ -64,6 +66,7 @@
<integer>99</integer>
<integer>100</integer>
<integer>25</integer>
<integer>18</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
Expand Down Expand Up @@ -279,6 +282,7 @@
<integer>28</integer>
<integer>29</integer>
<integer>30</integer>
<integer>31</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
Expand Down Expand Up @@ -362,6 +366,7 @@
<array>
<integer>5</integer>
<integer>11</integer>
<integer>12</integer>
<integer>13</integer>
<integer>14</integer>
<integer>16</integer>
Expand All @@ -385,6 +390,8 @@
<integer>88</integer>
<integer>97</integer>
<integer>99</integer>
<integer>68</integer>
<integer>95</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
Expand Down Expand Up @@ -449,6 +456,7 @@
<integer>93</integer>
<integer>99</integer>
<integer>100</integer>
<integer>111</integer>
<integer>127</integer>
<integer>188</integer>
<integer>47</integer>
Expand Down Expand Up @@ -614,11 +622,12 @@
<key>LayoutIDs</key>
<array>
<integer>3</integer>
<integer>11</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
<key>MinKernel</key>
<integer>13</integer>
<integer>9</integer>
<key>Revisions</key>
<array/>
</dict>
Expand All @@ -631,6 +640,7 @@
<array>
<integer>1</integer>
<integer>3</integer>
<integer>11</integer>
<integer>13</integer>
<integer>14</integer>
<integer>15</integer>
Expand Down Expand Up @@ -927,6 +937,7 @@
<integer>50</integer>
<integer>11</integer>
<integer>51</integer>
<integer>52</integer>
<integer>69</integer>
</array>
<key>MaxKernel</key>
Expand Down Expand Up @@ -1480,7 +1491,9 @@
<string>ALC897</string>
<key>LayoutIDs</key>
<array>
<integer>13</integer>
<integer>23</integer>
<integer>21</integer>
<integer>66</integer>
<integer>69</integer>
<integer>12</integer>
Expand Down Expand Up @@ -1535,6 +1548,7 @@
<integer>20</integer>
<integer>21</integer>
<integer>22</integer>
<integer>23</integer>
<integer>27</integer>
<integer>28</integer>
<integer>29</integer>
Expand All @@ -1546,6 +1560,8 @@
<integer>100</integer>
<string>96</string>
<integer>255</integer>
<integer>69</integer>
<integer>37</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
Expand Down Expand Up @@ -1690,6 +1706,7 @@
<integer>29</integer>
<integer>30</integer>
<integer>32</integer>
<integer>33</integer>
<integer>47</integer>
<integer>66</integer>
<integer>72</integer>
Expand Down Expand Up @@ -1795,6 +1812,7 @@
<integer>23</integer>
<integer>36</integer>
<integer>54</integer>
<integer>55</integer>
<integer>99</integer>
</array>
<key>MaxKernel</key>
Expand Down Expand Up @@ -1883,6 +1901,7 @@
<integer>11</integer>
<integer>8</integer>
<integer>13</integer>
<integer>15</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
Expand Down Expand Up @@ -2027,6 +2046,7 @@
<key>LayoutIDs</key>
<array>
<integer>21</integer>
<integer>13</integer>
</array>
<key>MaxKernel</key>
<integer>15</integer>
Expand Down
Loading

0 comments on commit 149fdfb

Please sign in to comment.